Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for doStuff2 (0.17 sec)

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

                    @Incremental
                    abstract DirectoryProperty getInput()
                    @OutputFile
                    File output
    
                    @TaskAction
                    void doStuff(InputChanges changes) {
                        def changed = changes.getFileChanges(input)*.file*.name as List
                        assert changed.contains('child')
                        output.text = changed.join('\\n')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 12:52:29 UTC 2022
    - 27.8K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

                        }
                        throw new NullPointerException("Busted")
                    }
    
                    @OutputFile File outputFile
    
                    @TaskAction
                    void doStuff() {
                        executed = true
                    }
                }
    
                task custom(type: CustomTask) {
                    outputFile = file("output.txt")
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

        static class ClassWithNonRuleMethods extends RuleSource {
            static List thing() {
                []
            }
    
            static <T> List<T> genericThing() {
                []
            }
    
            private doStuff() {}
    
            private <T> T selectThing(List<T> list) { null }
        }
    
        def "can have non-rule methods that would be invalid rules"() {
            expect:
            extract(ClassWithNonRuleMethods).empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. tests/integration/README.md

    $ mkdir mycomponent
    ```
    
    You'll then need to define your component's API.
    
    ```go
    package mycomponent
    
    type Instance interface {
        resource.Resource
    
        DoStuff() error
        DoStuffOrFail(t test.Failer)
    }
    ```
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/Project.java

     * be read and updated. Only the initial declaration that needs to be done via the namespace.
     *
     * <pre>
     * project.ext.prop1 = "foo"
     * task doStuff {
     *     ext.prop2 = "bar"
     * }
     * subprojects { ext.${prop3} = false }
     * </pre>
     *
     * Reading extra properties is done through the &quot;ext&quot; or through the owning object.
     *
     * <pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top