Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for myPlugins (0.19 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilderTest.groovy

                "my-bundles",
                "my-versions",
                "my-plugins",
                "my-bundle",
                "my-plugin",
                "my-version",
                "myBundles",
                "myPlugins",
                "myVersions",
                "bundlesOfMe",
                "pluginsOfMe",
                "versionsOfMe",
            ]
        }
    
        @VersionCatalogProblemTestFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/conf/settings.xml

         | provides a specific path to the Tomcat instance. To use this, your plugin configuration might
         | hypothetically look like:
         |
         | ...
         | <plugin>
         |   <groupId>org.myco.myplugins</groupId>
         |   <artifactId>myplugin</artifactId>
         |
         |   <configuration>
         |     <tomcatLocation>${tomcatPath}</tomcatLocation>
         |   </configuration>
         | </plugin>
         | ...
         |
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:06:01 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

                }
    
                apply plugin: MyPlugin
            '''
    
            expect:
            fails 'model'
            failure.assertHasCause("Exception thrown while executing model rule: MyPlugin#rules")
            failure.assertHasCause("broken")
        }
    
        def "@Rules method is not executed when target is not required"() {
            buildFile << '''
                class MyPlugin extends RuleSource {
                    @Model
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

      MyPlugin.Rules#subjectOnly(MyPlugin.MyThing2)
        subject:
          - <no path> MyPlugin.MyThing2 (parameter 1) [*]
    
      MyPlugin.Rules#thing1(MyPlugin.MyThing2)
        inputs:
          - <no path> MyPlugin.MyThing2 (parameter 1) [*]
    '''
        }
    
        def "unbound rule by-path subject and inputs are reported"() {
            given:
            buildScript """
                class MyPlugin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy

            buildScript """
                class MyPlugin {
                    class Rules extends RuleSource {
                    }
                }
    
                apply type: MyPlugin
            """
    
            then:
            fails "tasks"
    
            and:
            failure.assertHasCause("Failed to apply plugin class 'MyPlugin'")
            failure.assertHasCause('''Type MyPlugin.Rules is not a valid rule source:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy

        }
    
        def "cannot create tasks during config of task"() {
            given:
            buildFile << """
                class MyPlugin extends RuleSource {
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

        def "dependencies of builds tested with TestKit in debug mode are instrumented and violations are reported"() {
            given:
            file("included/src/main/java/MyPlugin.java") << """
                import org.gradle.api.*;
    
                public class MyPlugin implements Plugin<Project> {
                    @Override
                    public void apply(Project project) {
                        String returned = System.getProperty("my.property");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

                include("c")
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("b/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy

            when:
            buildScript """
                class MyPlugin {
                  static class Rules extends RuleSource {
                    @Model
                    String foo() {
                      "foo"
                    }
                  }
                }
    
                apply type: MyPlugin
    
                model {
                  foo {
                    $code
                  }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

                ${ruleBasedTasks()}
    
                class MyPlugin extends RuleSource {
                    @Mutate
                    void applyMessages(ModelMap<EchoTask> tasks) {
                        tasks.afterEach {
                            message += " message!"
                        }
                    }
                }
    
                apply type: MyPlugin
    
                task foo(type: EchoTask) { message = 'custom' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top