Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for replaceWithExternalPlugin (0.28 sec)

  1. 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);
                    }
                }
            """.stripIndent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java

            }
    
            /**
             * Advice output: Consider using the ${replacement} plugin instead.
             */
            public DeprecatePlugin replaceWithExternalPlugin(String replacement) {
                this.externalReplacement = true;
                return replaceWith(replacement);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. 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)
Back to top