- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DeprecateTask (0.24 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java
String formatAdvice(String replacement) { return String.format("Please use the %s type instead.", replacement); } } public static class DeprecateTask extends WithReplacement<String, DeprecateTask> { DeprecateTask(String task) { super(task); } @Override String formatSummary(String task) {
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/main/java/org/gradle/internal/deprecation/DeprecationLogger.java
} /** * Output: The ${task} task has been deprecated. */ @CheckReturnValue public static DeprecationMessageBuilder.DeprecateTask deprecateTask(String task) { return new DeprecationMessageBuilder.DeprecateTask(task); } /** * Output: The task type ${task.getCanonicalName()} (used by the ${task.getPath()} task) 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 DeprecatedTask extends DefaultTask { @TaskAction void causeDeprecationWarning() { DeprecationLogger.deprecateTask("thisIsADeprecatedTask").replaceWith("foobar").willBeRemovedInGradle9().undocumented().nagUser(); System.out.println("DeprecatedTask.causeDeprecationWarning() executed."); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 16:16:32 UTC 2024 - 12.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy
} def "logs replaced task"() { when: DeprecationLogger.deprecateTask("taskName").replaceWith("replacementTask").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)