- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for DeprecateBehaviour (0.26 sec)
-
subprojects/core/src/main/java/org/gradle/execution/DefaultWorkValidationWarningRecorder.java
import java.util.Collection; import java.util.concurrent.atomic.AtomicInteger; import static java.util.stream.Collectors.joining; import static org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour; import static org.gradle.internal.deprecation.DeprecationMessageBuilder.withDocumentation; import static org.gradle.internal.reflect.validation.TypeValidationProblemRenderer.convertToSingleLine;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:26:04 UTC 2024 - 3.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/BuildServiceProviderNagger.java
import org.gradle.api.internal.TaskInternal; import org.gradle.internal.execution.WorkExecutionTracker; import java.util.Optional; import static org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour; public class BuildServiceProviderNagger implements BuildServiceProvider.Listener { private final WorkExecutionTracker taskExecutionTracker;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 08:22:48 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java
} /** * Output: ${behaviour}. This behavior is deprecated. */ @CheckReturnValue public static DeprecationMessageBuilder.DeprecateBehaviour deprecateBehaviour(String behaviour) { return new DeprecationMessageBuilder.DeprecateBehaviour(behaviour); } /** * Output: ${behaviour}. This behavior is deprecated. ${advice} */ @CheckReturnValue
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/PrecompiledSettingsScript.kt
open class PrecompiledSettingsScript(target: Settings) : @Suppress("deprecation") SettingsScriptApi(target) { init { DeprecationLogger.deprecateBehaviour("Applying a Kotlin DSL precompiled script plugin published with Gradle versions < 6.0.") .withAdvice("Use a version of the plugin published with Gradle >= 6.0.") .willBeRemovedInGradle9()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/PrecompiledInitScript.kt
open class PrecompiledInitScript(target: Gradle) : @Suppress("deprecation") InitScriptApi(target) { init { DeprecationLogger.deprecateBehaviour("Applying a Kotlin DSL precompiled script plugin published with Gradle versions < 6.0.") .withAdvice("Use a version of the plugin published with Gradle >= 6.0.") .willBeRemovedInGradle9()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaExecutableUtils.java
public class JavaExecutableUtils { public static File resolveExecutable(String executable) { File executableFile = new File(executable); if (!executableFile.isAbsolute()) { DeprecationLogger.deprecateBehaviour("Configuring a Java executable via a relative path.") .withContext("Resolving relative file paths might yield unexpected results, there is no single clear location it would make sense to resolve against.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/DefaultAdhocSoftwareComponent.java
* * @see <a href="https://github.com/gradle/gradle/issues/20581">issue</a> */ protected void checkNotObserved() { if (cachedVariants != null) { DeprecationLogger.deprecateBehaviour("Gradle Module Metadata is modified after an eagerly populated publication.") .willBecomeAnErrorInGradle9() .withUpgradeGuideSection(8, "gmm_modification_after_publication_populated")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java
return String.format("Please use %s instead.", replacement); } } public static class DeprecateBehaviour extends DeprecationMessageBuilder<DeprecateBehaviour> { private final String behaviour; public DeprecateBehaviour(String behaviour) { this.behaviour = behaviour; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 19.4K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/DefaultJavaFeatureSpec.java
} if (capabilities.isEmpty()) { capabilities.add(new ProjectDerivedCapability(project, name)); } if (SourceSet.isMain(sourceSet)) { DeprecationLogger.deprecateBehaviour(String.format("The '%s' feature was created using the main source set.", name)) .withAdvice("The main source set is reserved for production code and should not be used for features. Use another source set instead.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 02 01:52:06 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultToolchainSpec.java
// https://github.com/gradle/gradle/issues/23155 // This should make the spec invalid when the enum gets removed DeprecationLogger.deprecateBehaviour("Requesting JVM vendor IBM_SEMERU.") .willBeRemovedInGradle9() .withUpgradeGuideSection(8, "ibm_semeru_should_not_be_used") .nagUser(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 4.2K bytes - Viewed (0)