Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addTasks1 (0.47 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

            given:
            buildFile << """
                ${ruleBasedTasks()}
    
                class MyPlugin extends RuleSource {
                    @Mutate
                    void addTasks(ModelMap<EchoTask> tasks) {
                        tasks.create("foo") {
                            message = "foo message"
                        }
                    }
                }
    
                apply type: MyPlugin
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.create("executed") {
                            dependsOn ":b:dependency"
                        }
                    }
                }
    
                class ProjectBRules extends RuleSource {
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.create("dependency")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top