Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for outputDir (0.12 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. 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)
  4. 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)
  5. 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)
  6. platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java

                startScripts.getConventionMapping().map("applicationName", pluginExtension::getApplicationName);
    
                startScripts.getConventionMapping().map("outputDir", () -> new File(project.getBuildDir(), "scripts"));
    
                startScripts.getConventionMapping().map("executableDir", pluginExtension::getExecutableDir);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

            TransformAction<?> transformAction = newTransformAction(inputArtifactProvider, dependencies, inputChanges);
            DefaultTransformOutputs transformOutputs = new DefaultTransformOutputs(inputArtifactProvider.get().getAsFile(), outputDir, fileLookup);
            transformAction.transform(transformOutputs);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

                    @OutputDirectory
                    File outputDir = new File(project.buildDir, "overlap")
    
                    @Input
                    String message = "Generated by " + path
    
                    @Input
                    String fileName = name + ".txt"
    
                    @TaskAction
                    void generate() {
                        new File(outputDir, fileName).text = message
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  9. tools/bug-report/pkg/bugreport/bugreport.go

    	outDir, err := os.Getwd()
    	if err != nil {
    		log.Errorf("using ./ to write archive: %s", err.Error())
    		outDir = "."
    	}
    	if outputDir != "" {
    		outDir = outputDir
    	}
    	outPath := filepath.Join(outDir, "bug-report.tar.gz")
    
    	if !config.DryRun {
    		common.LogAndPrintf("Creating an archive at %s.\n", outPath)
    		archiveDir := archive.DirToArchive(tempDir)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. src/testing/testing.go

    	// "go test", the binary always runs in the source directory for the package;
    	// this flag lets "go test" tell the binary to write the files in the directory where
    	// the "go test" command is run.
    	outputDir = flag.String("test.outputdir", "", "write profiles to `dir`")
    	// Report as tests are run; default is silent for success.
    	flag.Var(&chatty, "test.v", "verbose: print additional output")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top