Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for taskTypeWithIntInputProperty (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

        def "task input property can consume the mapped output of another task"() {
            taskTypeWithInputFileProperty()
            taskTypeWithIntInputProperty()
    
            buildFile << """
                task producer(type: InputFileTask) {
                    inFile = file("in.txt")
                    outFile = layout.buildDirectory.file("out.txt")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

        }
    
        def "input property with value of mapped task output implies dependency on the task"() {
            taskTypeWithOutputFileProperty()
            taskTypeWithIntInputProperty()
            buildFile << """
                def task = tasks.create("a", FileProducer) {
                    output = file("file.txt")
                    content = "12"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy

                    def go() {
                        out1.get().asFile.text = "1"
                        out2.get().asFile.text = "2"
                    }
                }
            """
        }
    
        def taskTypeWithIntInputProperty() {
            buildFile << """
                class InputTask extends DefaultTask {
                    @Input
                    final Property<Integer> inValue = project.objects.property(Integer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top