- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 64 for outputDir (0.23 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc
[source,kotlin] ---- tasks.compileJava { // Modify the task behavior doLast { val outputDir = File("$buildDir/compiledClasses") outputDir.mkdirs() val compiledFiles = sourceSets["main"].output.files compiledFiles.forEach { compiledFile -> val destinationFile = File(outputDir, compiledFile.name) compiledFile.copyTo(destinationFile, true) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 05:34:54 UTC 2024 - 37.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
} def "wrong output file type registered via TaskOutputs.#method is not allowed (files)"() { enableProblemsApiCheck() expectReindentedValidationMessage() def outputDir = file("output-dir") outputDir.createDir() buildFile << """ task test { outputs.${method}({ "$path" }) withPropertyName "output" doLast {} } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy
return "good"; } } @OutputDirectory private File getOutputDir() { return new File("outputDir"); } @TaskAction public void doStuff() { } } """ expect: assertValidationFailsWith([
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40.7K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy
workerThatChecksClassLoader.with { action += """ File outputDir = new File(getParameters().getOutputDir().absolutePath.replace("checkClassLoader", "changeClassloader")) URL[] urls = parameters.files.collect { new File(outputDir, it).toURI().toURL() } assert !urls.any { Thread.currentThread().getContextClassLoader().URLs.contains(it) } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 31K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy
when: relocatedJarCreator.create(outputJar, [jarFile1, jarFile2, jarFile3, jarFile4, jarFile5, jarFile6, inputDirectory]) then: TestFile[] contents = tmpDir.testDirectory.listFiles().findAll { it.isFile() } contents.length == 1 contents[0] == outputJar handleAsJarFile(outputJar) { JarFile file -> List<JarEntry> entries = file.entries() as List
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 20.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)