Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for InputFile (0.18 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                    @InputDirectory
                    @Optional
                    public File getInputDirectory() {
                        return new File("input");
                    }
    
                    @InputFile
                    public File getInputFile() {
                        return new File("input.txt");
                    }
    
                    @InputFiles
                    public Set<File> getInputFiles() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestInputAnnotationFailuresIntegrationTest.groovy

            result.assertHasErrorOutput("Possible solutions:")
            result.assertHasErrorOutput("1. Annotate with @InputFile for regular files.")
            result.assertHasErrorOutput("2. Annotate with @InputFiles for collections of files.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

                validAnnotations = "@Console, @Inject, @Input, @InputDirectory, @InputFile, @InputFiles, @Internal, @Nested, @ReplacedBy or @ServiceReference"
                this
            }
    
            AnnotationContext forTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy

                        def dir = outDir.get().asFile
                        assert new File(dir, 'baz').createNewFile()
                    }
                }
                abstract class Bar extends DefaultTask {
                    @InputFile abstract RegularFileProperty getInDir()
                    @TaskAction void bar() {}
                }
                def task = tasks.register("foo", Foo) {
                    outDir.set(layout.buildDirectory.dir("bam"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 15:32:52 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

        }
    
        def "reports type validation failure"() {
            enableProblemsApiCheck()
            buildFile << '''
                class CustomTask extends DefaultTask {
                    @InputFile File srcFile
                    @OutputFile File destFile
    
                    @TaskAction
                    void action() {}
                }
    
                task custom(type: CustomTask)
            '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/StandardJavadocDocletOptions.java

    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import org.gradle.api.Incubating;
    import org.gradle.api.tasks.Classpath;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.InputFile;
    import org.gradle.api.tasks.Optional;
    import org.gradle.api.tasks.PathSensitive;
    import org.gradle.external.javadoc.internal.GroupsJavadocOptionFileOption;
    import org.gradle.external.javadoc.internal.JavadocOptionFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

         * <p>When the value or value content of this provider is not known until execution time then returns a {@link Provider} representing the calculation to perform at execution time.
         * For example, the value content of an @InputFile property of a task is not known when that input file is the output of another a task.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            failure.assertHasCause("The value for task ':show' property 'prop' is final and cannot be changed any further.")
    
            where:
            annotation    | _
            "@InputFile"  | _
            "@OutputFile" | _
        }
    
        def "task #annotation directory property is implicitly finalized when task starts execution"() {
            buildFile << """
                class SomeTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
Back to top