Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for willBeRemovedInGradle9 (0.25 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/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)
  3. 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)
  4. 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)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultResolvedConfiguration.java

            DeprecationLogger.deprecateMethod(ResolvedConfiguration.class, "getFiles(Spec)")
                .withAdvice("Use an ArtifactView with a componentFilter instead.")
                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(8, "deprecate_filtered_configuration_file_and_filecollection_methods")
                .nagUser();
    
            ResolvedFilesCollectingVisitor visitor = new ResolvedFilesCollectingVisitor();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

        @Deprecated
        public File getDestinationDir() {
            DeprecationLogger.deprecateProperty(TestReport.class, "destinationDir").replaceWith("destinationDirectory")
                    .willBeRemovedInGradle9()
                    .withDslReference()
                    .nagUser();
            return getDestinationDirectory().get().getAsFile();
        }
    
        /**
         * Sets the directory to write the HTML report to.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/PatternSetSnapshottingFilter.java

            @Deprecated
            public int getMode() {
                DeprecationLogger.deprecateMethod(FileTreeElement.class, "getMode()")
                    .replaceWith("getPermissions()")
                    .willBeRemovedInGradle9()
                    .withUpgradeGuideSection(8, "unix_file_permissions_deprecated")
                    .nagUser();
                return getPermissions().toUnixNumeric();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/PrecompiledInitScript.kt

                .withAdvice("Use a version of the plugin published with Gradle >= 6.0.")
                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(8, "kotlin_dsl_precompiled_gradle_lt_6")
                .nagUser()
        }
    
        override val fileOperations by lazy { fileOperationsFor(delegate, null) }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/PrecompiledSettingsScript.kt

                .withAdvice("Use a version of the plugin published with Gradle >= 6.0.")
                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(8, "kotlin_dsl_precompiled_gradle_lt_6")
                .nagUser()
        }
    
        override val fileOperations by lazy { fileOperationsFor(delegate) }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/tasks/GenerateMavenPom.java

            DeprecationLogger.deprecateMethod(GenerateMavenPom.class, "withCompileScopeAttributes(ImmutableAttributes)")
                .withContext("This method was never intended for public use.")
                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(8, "generate_maven_pom_method_deprecations")
                .nagUser();
    
            return this;
        }
    
        /**
         * The values set by this method are ignored.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top