Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ruleBasedTasks (0.49 sec)

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

            output.contains "name: tasks"
        }
    
        def "can view tasks as various view types"() {
            given:
            buildFile << """
                ${ruleBasedTasks()}
    
                class MyPlugin extends RuleSource {
                    @Mutate
                    void tasks(ModelMap<EchoTask> tasks) {
                        tasks.create("test")
                    }
                    @Mutate
    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

            createdTasksFor("t1") == [":a:t1", ":b:t1", ":c:t1", ":t1"]
        }
    
        def "rule based tasks that are not requested on the command line are not created"() {
            when:
            buildFile << """
                ${ruleBasedTasks()}
                model {
                    tasks {
                        create("t1") {
                            group = "mygroup"
                        }
                        create("t2", BrokenTask) {
    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