Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for outputDir (0.23 sec)

  1. 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)
  2. 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)
  3. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/plugins/ApplicationPluginTest.groovy

            then:
            def task = project.tasks[ApplicationPlugin.TASK_START_SCRIPTS_NAME]
            task instanceof CreateStartScripts
            task.applicationName == project.applicationName
            task.outputDir == project.file('build/scripts')
            task.defaultJvmOpts == []
        }
    
        def "adds distZip task to project"() {
            when:
            plugin.apply(project)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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/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)
Back to top