Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for taskTypeWithInputListProperty (0.25 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy

                    @TaskAction
                    def go() {
                        outFile.get().asFile.text = (inValue.get() + 10) as String
                    }
                }
            """
        }
    
        def taskTypeWithInputListProperty() {
            buildFile << """
                class InputTask extends DefaultTask {
                    @Input
                    final ListProperty<Integer> inValue = project.objects.listProperty(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)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

            "disallow unsafe read" | "it.disallowUnsafeRead()"
        }
    
        def "task input collection property can consume the mapped output of another task"() {
            taskTypeWithInputFileProperty()
            taskTypeWithInputListProperty()
    
            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)
Back to top