Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 200 for outputDir (0.14 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. subprojects/core-api/src/main/java/org/gradle/work/InputChanges.java

     *     void execute(InputChanges inputChanges) {
     *         inputChanges.getFileChanges(inputDir).each { change -&gt;
     *             if (change.fileType == FileType.DIRECTORY) return
     *
     *             def targetFile = outputDir.file(change.normalizedPath).get().asFile
     *             if (change.changeType == ChangeType.REMOVED) {
     *                 targetFile.delete()
     *             } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 26 09:19:43 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

        inputs.files(copyTask)
            .withPropertyName("inputs")
            .withPathSensitivity(PathSensitivity.RELATIVE)
        outputs.dir("some-dir") // up-to-date check for outputs
            .withPropertyName("outputDir")
        doLast {
            copy {
                // Copy the output of copyTask
                from(copyTask)
                into("some-dir")
            }
        }
    }
    // end::copy-method-with-dependency[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top