- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DeprecatePlugin (0.15 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java
return String.format("Please use the %s type instead.", replacement.getCanonicalName()); } } public static class DeprecatePlugin extends WithReplacement<String, DeprecatePlugin> { private boolean externalReplacement = false; DeprecatePlugin(String plugin) { super(plugin); } @Override String formatSummary(String plugin) {
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/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy
} def "logs plugin replaced with external one message"() { when: DeprecationLogger.deprecatePlugin("pluginName").replaceWithExternalPlugin("replacement").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) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java
} /** * Output: The ${plugin} plugin has been deprecated. */ @CheckReturnValue public static DeprecationMessageBuilder.DeprecatePlugin deprecatePlugin(String plugin) { return new DeprecationMessageBuilder.DeprecatePlugin(plugin); } /** * Output: Internal API ${api} has been deprecated. */ @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-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy
public class DeprecatedPlugin implements Plugin<Project> { @Override public void apply(Project project) { DeprecationLogger.deprecatePlugin("DeprecatedPlugin").replaceWithExternalPlugin("Foobar").willBeRemovedInGradle9().undocumented().nagUser(); project.getTasks().create("thisIsADeprecatedTask", DeprecatedTask.class); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 16:16:32 UTC 2024 - 12.8K bytes - Viewed (0)