Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for taskContainerTask (0.37 sec)

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

            then:
            thrown(ModelPath.InvalidNameException)
        }
    
        def "tasks are visible to rules using their public type"(){
            given:
            buildFile << """
    tasks.create(name: 'taskContainerTask', type: DefaultTask) { }
    
    task standardTask
    
    model {
      tasks {
        newModelTask(Task) {}
      }
    }
    
    class MyPlugin extends RuleSource {
        @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
Back to top