Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 190 for outputDir (0.14 sec)

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

            given:
            buildFile << """
                task customTask {
                    def outputDir = file("build/empty")
                    outputs.dir outputDir withPropertyName "empty"
                    outputs.cacheIf { true }
                    doLast {
                        outputDir.mkdirs()
                    }
                }
            """
    
            when:
            withBuildCache().run "customTask"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            //${separateClassesDirs(targetVersion) ? "java.outputDir" : "output.classesDir"} = file("build/classes/moreTests")
            if (!separateClassesDirs(targetVersion)) {
                return "output.classesDir = $destinationDirectory"
            }
            if (targetVersion.baseVersion < GradleVersion.version("6.1")) {
                return "java.outputDir = $destinationDirectory"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/work/InputChanges.java

     *     void execute(InputChanges inputChanges) {
     *         inputChanges.getFileChanges(inputDir).each { change -&gt;
     *             if (change.fileType == FileType.DIRECTORY) return
     *
     *             def targetFile = outputDir.file(change.normalizedPath).get().asFile
     *             if (change.changeType == ChangeType.REMOVED) {
     *                 targetFile.delete()
     *             } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 26 09:19:43 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

                assert it.buildCommand.endsWith("gradle\" :installMain${it.name.capitalize()}Executable")
                assert it.outputFile == OperatingSystem.current().getExecutableName("build/install/main/${it.outputDir}/lib/main")
            }
    
            and:
            final mainSolution = solutionFile("app.sln")
            mainSolution.assertHasProjects("mainExe")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-generate_test.go

    			fileSelect: []string{"templates/deployment.yaml"},
    			outputDir:  flagOutputDir,
    		},
    		{
    			desc:       "flag_output_set_values",
    			diffSelect: "Deployment:*:istio-ingressgateway",
    			flags:      "-s values.global.proxy.image=mynewproxy -o " + flagOutputValuesDir,
    			fileSelect: []string{"templates/deployment.yaml"},
    			outputDir:  flagOutputValuesDir,
    			noInput:    true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

        inputs.files(copyTask)
            .withPropertyName("inputs")
            .withPathSensitivity(PathSensitivity.RELATIVE)
        outputs.dir("some-dir") // up-to-date check for outputs
            .withPropertyName("outputDir")
        doLast {
            copy {
                // Copy the output of copyTask
                from(copyTask)
                into("some-dir")
            }
        }
    }
    // end::copy-method-with-dependency[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

        inputs.files(copyTask)
            .withPropertyName("inputs")
            .withPathSensitivity(PathSensitivity.RELATIVE)
        outputs.dir('some-dir') // up-to-date check for outputs
            .withPropertyName("outputDir")
        doLast {
            copy {
                // Copy the output of copyTask
                from copyTask
                into 'some-dir'
            }
        }
    }
    // end::copy-method-with-dependency[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    ----
    public class IncrementalReverseTask : DefaultTask() {
    
        @get:Incremental
        @get:InputDirectory
        val inputDir: DirectoryProperty = project.objects.directoryProperty()
    
        @get:OutputDirectory
        val outputDir: DirectoryProperty = project.objects.directoryProperty()
    
        @get:Input
        val inputProperty: RegularFileProperty = project.objects.fileProperty() // File input property
    
        @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                    outputDirectory = project.file(project.providers.gradleProperty('outputDir'))
                }
            """
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output1"
            then:
            executedAndNotSkipped ":customTask"
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output2"
            then:
            executedAndNotSkipped ":customTask"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

                    new URI("http", null, "localhost", ${blockingHttpServer.getPort()}, "/\${parameters.itemName}", null, null).toURL().text
                    File outputDir = new File("${fixture.outputFileDirPath}")
                    File outputFile = new File(outputDir, parameters.itemName)
                    FileHelper.write(id, outputFile)
                """
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
Back to top