Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 102 for inputFile (0.14 sec)

  1. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

                }
            }
    
            private void storeFileEntry(File inputFile, String path, long size, int mode, TarArchiveOutputStream tarOutput) {
                try {
                    createTarEntry(path, size, UnixPermissions.FILE_FLAG | mode, tarOutput);
                    try (FileInputStream input = new FileInputStream(inputFile)) {
                        IOUtils.copyLarge(input, tarOutput, bufferProvider.getBuffer());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                file('file1.txt').text = "dir1/file1.txt"
            })
            buildFile << """
            class TaskWithAutomaticDependency extends DefaultTask {
                @InputFile
                final RegularFileProperty inputFile = project.objects.fileProperty()
    
                @TaskAction
                void doNothing() {
                    // does nothing
                }
            }
    
            task tar(type: Tar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. 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.")
            result.assertHasErrorOutput(". If you want to track the path, return File.absolutePath as a String and keep @Input.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/config/analysis/analyzers/analyzers_test.go

    		skipAll: true,
    	},
    	{
    		name:       "deprecation",
    		inputFiles: []string{"testdata/deprecation.yaml"},
    		analyzer:   &deprecation.FieldAnalyzer{},
    		expected: []message{
    			{msg.Deprecated, "VirtualService foo/productpage"},
    			{msg.Deprecated, "Sidecar default/no-selector"},
    		},
    	},
    	{
    		name:       "externalControlPlaneMissingWebhooks",
    		inputFiles: []string{"testdata/externalcontrolplane-missing-urls.yaml"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top