Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for writeInputToFile (0.12 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                    }
                }
    
                task<PrintInputToFile>("writeInputToFile") {
                    inputSource = providers.gradleProperty("inputString")
                    outputFile = project.layout.buildDirectory.file("output.txt")
                }
                """
            )
    
            val taskName = ":writeInputToFile"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

                    Object bean
    
                    @OutputFile
                    final RegularFileProperty outputFile = project.objects.fileProperty()
    
                    @TaskAction
                    void writeInputToFile() {
                        outputFile.getAsFile().get().text = bean == null ? 'null' : bean.toString()
                        if (bean != null) {
                            bean.doStuff()
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top