Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for inputDirectory (0.31 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppCustomHeaderDependencyIntegrationTest.groovy

                abstract class UnzipTransform implements TransformAction<Parameters> {
                    interface Parameters extends TransformParameters {
                        @InputDirectory
                        DirectoryProperty getHeaderDir()
                    }
    
                    void transform(TransformOutputs outputs) {
                        def unzipped = outputs.dir("unzipped")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

        }
    
        static class AsyncWithInputFile extends Async {
            @InputFile
            File inputFile
        }
    
        static class AsyncWithInputDirectory extends Async {
            @InputDirectory
            File inputDirectory
        }
    
        static class BrokenTask extends DefaultTask {
            @OutputFiles
            FileCollection getOutputFiles() {
                throw new Exception("BOOM!")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy

                import java.nio.file.Path
                import java.nio.file.Files
    
                class TransformTask extends DefaultTask {
                    @InputFile
                    Path inputFile
                    @InputDirectory
                    Path inputDir
                    @OutputFile
                    Path outputFile
                    @OutputDirectory
                    Path outputDir
    
                    @TaskAction
                    def go() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy

                    inputDir = file('src')
                }
    
                class MyIncrementalTask extends DefaultTask {
                    ${supportsInputChanges ? "@Incremental" : ""}
                    @InputDirectory
                    def File inputDir
                    @TaskAction
                    void doSomething(${parameterType} inputs) {}
    
                    @Optional
                    @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc

    As a consequence, up-to-date checking and caching won't work.
    
    To fix this problem, you need to annotate the property with the appropriate annotation, for example `@InputDirectory` for a property representing an input directory, or `@OutputDirectory` for a property representing an output directory.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

                    @InputFile @PathSensitive(PathSensitivity.NONE) File regularFile
                    @InputDirectory @PathSensitive(PathSensitivity.NONE) File emptyDir
                    @InputDirectory @PathSensitive(PathSensitivity.NONE) File singleFileInDir
                    @InputDirectory @PathSensitive(PathSensitivity.NONE) File manyFilesInDir
                    @OutputFile File output
                    @TaskAction action() {
    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. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputPropertyAnnotationHandler.java

                        .details("A property of type '" + ModelType.of(valueType).getDisplayName() + "' annotated with @Input cannot determine how to interpret the file")
                        .solution("Annotate with @InputDirectory for directories")
                );
            }
        }
    
    
        private static final String UNSUPPORTED_VALUE_TYPE = "UNSUPPORTED_VALUE_TYPE";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractExecTask.java

            execSpec.executable(executable);
            return taskType.cast(this);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        @Internal
        // TODO:LPTR Should be a content-less @InputDirectory
        public File getWorkingDir() {
            return execSpec.getWorkingDir();
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void setWorkingDir(File dir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 08 18:31:36 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

            InputFiles        | '@InputFiles @PathSensitive(PathSensitivity.NAME_ONLY)'    | Set            | "new HashSet()"
            InputDirectory    | '@InputDirectory @PathSensitive(PathSensitivity.RELATIVE)' | File           | "new File(\"input\")"
            Input             | '@Input'                                                   | String         | "\"value\""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                @CacheableTask
                public abstract class MyTask extends DefaultTask {
                    @javax.inject.Inject
                    org.gradle.api.internal.file.FileResolver fileResolver;
    
                    @InputDirectory
                    @Optional
                    public File getInputDirectory() {
                        return new File("input");
                    }
    
                    @InputFile
                    public File getInputFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top