Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for outputDir (0.14 sec)

  1. platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/tasks/CreateStartScripts.java

        /**
         * The directory to write the scripts into.
         */
        @OutputDirectory
        @Nullable
        public File getOutputDir() {
            return outputDir;
        }
    
        public void setOutputDir(@Nullable File outputDir) {
            this.outputDir = outputDir;
        }
    
        /**
         * The directory to write the scripts into in the distribution.
         * @since 4.5
         */
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            """
                @CacheableTask
                class CustomTask extends DefaultTask {
                    @OutputDirectory File outputDir = new File(project.buildDir, 'output')
                    @TaskAction
                    void generate() {
                        new File(outputDir, "output").text = "OK"
                    }
                }
    
                task cacheable(type: CustomTask)
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

            1 * visitor.visitOutputFileProperty('outputFile', false, { it.call().path == 'output' }, OutputFilePropertyType.FILE)
            1 * visitor.visitOutputFileProperty('bean.outputDir', false, { it.call().path == 'outputDir' }, OutputFilePropertyType.DIRECTORY)
    
            1 * visitor.visitDestroyableProperty({ it.call().path == 'destroyed' })
    
            1 * visitor.visitLocalStateProperty({ it.call().path == 'localState' })
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. pkg/kubelet/certificate/kubelet_test.go

    	if err != nil {
    		return "", "", nil
    	}
    
    	var certKeyPathFn = func(dataDir string) (string, string, string) {
    		outputDir := filepath.Join(certDir, dataDir)
    		return outputDir, filepath.Join(outputDir, "kubelet.cert"), filepath.Join(outputDir, "kubelet.key")
    	}
    
    	writeDir, writeCertPath, writeKeyPath := certKeyPathFn("identity.tmp")
    	if err := os.Mkdir(writeDir, 0777); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStepTest.groovy

            def outputSnapshots = ImmutableSortedMap.<String, FileSystemSnapshot>of(
                "outputDir", Mock(FileSystemSnapshot),
                "outputFile", Mock(FileSystemSnapshot),
            )
            def filteredOutputSnapshots = ImmutableSortedMap.<String, FileSystemSnapshot>of(
                "outputDir", Mock(FileSystemSnapshot)
            )
            def buildCacheKey = HashCode.fromString("0123456789abcdef")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/developingPlugins/pluginExtension/kotlin/build.gradle.kts

    plugins {
        id("org.myorg.site")
    }
    
    site {
        outputDir = layout.buildDirectory.file("mysite")
    
        siteInfo {
            websiteUrl = "https://gradle.org"
            vcsUrl = "https://github.com/gradle/gradle-site-plugin"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 21:49:49 UTC 2024
    - 228 bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/testflag.go

    	}
    
    	// Similarly, the test binary defaults -test.outputdir to its own working
    	// directory, but 'go test' defaults it to the working directory of the 'go'
    	// command. Set it explicitly if it is needed due to some other flag that
    	// requests output.
    	if testProfile() != "" && !outputDirSet {
    		injectedFlags = append(injectedFlags, "-test.outputdir="+testOutputDir.getAbs())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultPrecompiledScriptPluginsSupport.kt

        noinline configure: T.(Provider<Directory>) -> Unit
    ) = buildDir("generated-sources/kotlin-dsl-$purpose/kotlin").let { outputDir ->
        val task = tasks.register(taskName, T::class.java) {
            it.configure(outputDir)
        }
        kotlinSourceDirectorySet.srcDir(files(outputDir).builtBy(task))
        task to outputDir
    }
    
    
    private
    fun Project.buildDir(path: String) = layout.buildDirectory.dir(path)
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 10:44:10 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy

            def outputValue = System.currentTimeMillis()
    
            buildFile << """
    project(':a') {
        task writeOutputFile {
            def outputDir = file('build')
            doLast {
                outputDir.mkdirs()
                new File(outputDir, 'output.txt') << "${outputValue}"
            }
        }
    }
    project(':c') {
        compileJava.dependsOn ':a:writeOutputFile'
    }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/util/internal/Resources.java

            final File outputDir = testDirectoryProvider.getTestDirectory().getParentFile().createDir(EXTRACTED_RESOURCES_DIR, jarFileName);
    
            final String extractionKey = runningTestClass.getName() + ":" + jarFilePath;
            if (!EXTRACTED_JARS.contains(extractionKey)) {
                extractJarContents(jarFilePath, outputDir);
                EXTRACTED_JARS.add(extractionKey);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top