Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for outputDir (0.17 sec)

  1. testing/performance/src/templates/workerApiProject/buildSrc/src/main/java/com/example/worker/WorkerTask.java

                        File outputFile = new File(outputDir, "out-" + index + ".txt");
                        workerConfiguration.setParams(index, outputFile);
                    }
                });
            }
        }
    
        @OutputDirectory
        public File getOutputDir() {
            return outputDir;
        }
    
        @Input
        public int getOutputSize() {
            return outputSize;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGenerator.groovy

            def projectName = args[0]
            def outputDir = new File(args[1])
    
            JavaTestProjectGenerator project = JavaTestProjectGenerator.values().find { it.projectName == projectName }
            if (project == null) {
                throw new IllegalArgumentException("Project not defined: $projectName")
            }
            def projectDir = new File(outputDir, projectName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStepTest.groovy

            def previousOutputSnapshot = Mock(FileSystemSnapshot)
            def previousOutputSnapshots = ImmutableSortedMap.of("outputDir", previousOutputSnapshot)
            def beforeExecutionOutputSnapshot = Mock(FileSystemSnapshot)
            def beforeExecutionOutputSnapshots = ImmutableSortedMap.of("outputDir", beforeExecutionOutputSnapshot)
    
            when:
            step.execute(work, context)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/developingPlugins/pluginExtension/groovy/build.gradle

    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
    - 227 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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