Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fooTask (0.07 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

        def "allows @InputFiles of task with no actions to be null"() {
            buildFile << """
                class FooTask extends DefaultTask {
                   @InputFiles
                   FileCollection bar
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run "foo"
    
            then:
            executed ":foo"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            given:
            buildFile << """
                class Bean { Project p1 }
    
                class FooTask extends DefaultTask {
                    private final bean = new Bean()
                    FooTask() { bean.p1 = project }
                    @TaskAction void run() {}
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run ENABLE_CLI_OPT, WARN_PROBLEMS_CLI_OPT, "foo"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top