Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for willBeRemovedInGradle9 (0.29 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationLoggerTest.groovy

            DeprecationLogger.reset()
        }
    
        def "logs deprecation warning once until reset"() {
            when:
            DeprecationLogger.deprecate("nag").willBeRemovedInGradle9().undocumented().nagUser()
            DeprecationLogger.deprecate("nag").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            def events = outputEventListener.events
            events.size() == 1
            events[0].message.startsWith('nag')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:06:10 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy

            initScript  """
                org.gradle.internal.deprecation.DeprecationLogger.deprecate('Init script')
                    .willBeRemovedInGradle9()
                    .undocumented()
                    .nagUser()
                org.gradle.internal.deprecation.DeprecationLogger.deprecate('Init script')
                      .willBeRemovedInGradle9()
                      .undocumented()
                      .nagUser()
            """
    
            file('script.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

            when:
            builder.willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "Summary is deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Context. Advice."
        }
    
        def "logs generic deprecation message for specific thing"() {
            when:
            DeprecationLogger.deprecate("Something").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

                        System.out.println("DeprecatedTask.causeDeprecationWarning() executed.");
                    }
    
                    public static void someFeature() {
                        DeprecationLogger.deprecateMethod(DeprecatedTask.class, "someFeature()").willBeRemovedInGradle9().undocumented().nagUser();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/DefaultBuildIdentifier.java

        @Override
        public String getName() {
            DeprecationLogger.deprecateMethod(BuildIdentifier.class, "getName()")
                .withAdvice("Use getBuildPath() to get a unique identifier for the build.")
                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(8, "build_identifier_name_and_current_deprecation")
                .nagUser();
    
            return buildPath.getName() == null ? ":" : buildPath.getName();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 07:33:41 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/AbstractCompile.java

            DeprecationLogger.deprecateProperty(AbstractCompile.class, "destinationDir")
                .replaceWith("destinationDirectory")
                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(7, "compile_task_wiring")
                .nagUser();
    
            return destinationDirectory.getAsFile().getOrNull();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ShortCircuitEmptyConfigurationResolver.java

                DeprecationLogger.deprecateMethod(LenientConfiguration.class, "getFirstLevelModuleDependencies(Spec)")
                    .withAdvice("Use getFirstLevelModuleDependencies() instead.")
                    .willBeRemovedInGradle9()
                    .withUpgradeGuideSection(8, "deprecate_filtered_configuration_file_and_filecollection_methods")
                    .nagUser();
    
                return Collections.emptySet();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolveException.java

            DeprecationLogger.deprecateAction("Directly instantiating a ResolveException")
                .withContext("Instantiating this exception is reserved for Gradle internal use only.")
                .willBeRemovedInGradle9()
                .undocumented()
                .nagUser();
        }
    
        /**
         * Do not call this constructor.
         *
         * @deprecated This constructor will be made protected in 9.0
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/assignment/internal/KotlinDslAssignment.kt

                .withAdvice("The class was most likely loaded from `kotlin-dsl` plugin version 4.1.0 or earlier version used in the build: avoid specifying a version for `kotlin-dsl` plugin.")
                .willBeRemovedInGradle9()
                .undocumented()
                .nagUser()
        }
    
        fun isAssignmentOverloadEnabled(): Boolean {
            return true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultLenientConfiguration.java

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top