Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for outputFiles (0.15 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

            [null, 'outputFile']                          | ['outputFile', null]           | true
            ['outputFile1', null]                         | ['outputFile1', 'outputFile2'] | false
            ['outputFile1', 'outputFile2', 'outputFile3'] | ['outputFile1', 'outputFile2'] | false
            ['outputFile1', 'outputFile2']                | ['outputFile2', 'outputFile3'] | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepository.java

                            File outputFile = new File(outputPath);
                            outputFiles.put(outputPath, OutputKind.OUTPUT);
                            File outputFileParent = outputFile.getParentFile();
                            while (outputFileParent != null) {
                                String parentPath = outputFileParent.getPath();
                                if (outputFiles.getIfPresent(parentPath) != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepositoryTest.groovy

        def outputFiles = new TestInMemoryIndexedCache<String, DefaultOutputFilesRepository.OutputKind>(new BaseSerializerFactory().getSerializerFor(DefaultOutputFilesRepository.OutputKind))
        def cacheAccess = Stub(PersistentCache) {
            createIndexedCache(_) >> outputFiles
        }
        def cacheDecorator = Mock(CacheDecorator)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            touch(task.outputFiles.get(0).getParentFile())
    
            when:
            execute(task)
    
            then:
            def e = thrown WorkValidationException
            validateException(task, e, cannotCreateParentDirectories {
                property('outputFiles')
                    .file(task.outputFiles[0])
                    .ancestorIsNotDirectory(task.outputFiles[0].parentFile)
                    .includeLink()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

            @InputFile
            File inputFile
            @InputDirectory
            File inputDirectory
            @InputFiles
            File inputFiles
            @OutputFile
            File outputFile
            @OutputFiles
            Set<File> outputFiles
            @OutputDirectory
            File outputDirectory
            @OutputDirectories
            Set<File> outputDirectories
            @Destroys
            Set<File> destroys
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

                    @PathSensitive(PathSensitivity.NONE)
                    File inputFile
    
                    @OutputFiles
                    Map<String, File> outputFiles
    
                    @TaskAction
                    void doSomething() {
                        outputFiles.each { String key, File outputFile ->
                            outputFile.text = key
                        }
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

                    @Input
                    String message = "Hello World"
                    @OutputFile
                    File outputFile = new File(temporaryDir, "output.txt")
    
                    @TaskAction
                    void generate() {
                        outputFile.text = message
                    }
                }
    
                @DisableCachingByDefault
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java

    import org.gradle.api.tasks.Nested;
    import org.gradle.api.tasks.Optional;
    import org.gradle.api.tasks.OutputDirectories;
    import org.gradle.api.tasks.OutputDirectory;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.OutputFiles;
    import org.gradle.api.tasks.PathSensitive;
    import org.gradle.api.tasks.SkipWhenEmpty;
    import org.gradle.api.tasks.UntrackedTask;
    import org.gradle.api.tasks.options.OptionValues;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

        final inputFiles = [file: [inputFile], dir: [inputDir], missingFile: [missingInputFile]]
        final outputFiles = [file: outputFile, missingFile: missingOutputFile]
        final outputDirs = [emptyDir: emptyOutputDir, dir: outputDir, missingDir: missingOutputDir]
        final createFiles = [outputFile, outputDirFile, outputDirFile2] as Set
    
        def unitOfWork = builder.build()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                        def buildDirectory = projectLayout.buildDirectory
                        inputFiles.files.each { File inputFile ->
                            def outputFile = buildDirectory.file(inputFile.name + ".out").get().asFile
                            GFileUtils.copyFile(inputFile, outputFile)
                        }
                    }
                }
                allprojects {
                    apply plugin: 'java-library'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top