Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deprecatePlugin (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

                        project.getTasks().create("thisIsADeprecatedTask", DeprecatedTask.class);
                    }
                }
            """.stripIndent()
            file('buildSrc/src/main/resources/META-INF/gradle-plugins/org.acme.deprecated.properties') << """
                implementation-class=DeprecatedPlugin
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top