Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 273 for inputFile1 (0.29 sec)

  1. platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc

    If you are using Groovy, it's likely that you unintentionally added the `private` modifier to a property declaration:
    
    ```groovy
    @InputFile
    RegularFileProperty inputFile // this is a public property
    
    @InputFile
    private RegularFileProperty inputFile // this is a field, remove the `private` modifier
    ```
    
    [[ignored_annotations_on_method]]
    == Invalid annotation on method
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

            def changes = [
                inputProperty: { String property ->
                    inputProperties[property] = inputProperties[property] + ' changed'
                },
                inputFile: { String property ->
                    inputFiles[property] << ' changed'
                },
                outputFile: { String property ->
                    outputFiles[property] << ' changed'
                }
            ]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc

    abstract class AllTypes extends DefaultTask {
    
        //inputs
        @Input
        final abstract Property<String> inputString = ""
        @InputFile
        final abstract RegularFileProperty inputFile = ""
        @InputDirectory
        final abstract DirectoryProperty inputDirectory = ""
        @InputFiles
        final abstract ConfigurableFileCollection inputFileCollection = ""
        @Classpath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:34:54 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/api/GeneratorTask.java

        public File getInputFile() {
            return inputFile != null ? inputFile : getOutputFile();
        }
    
        // Workaround for when the task is given an input file that doesn't exist
        @Nullable  @Optional
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        protected File getInputFileIfExists() {
            File inputFile = getInputFile();
            if (inputFile != null && inputFile.exists()) {
                return inputFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

            def inputFile = file("input.txt")
            buildFile << """
                def inputFile = file("input.txt")
                def outputFile = file("build/output.txt")
    
                task consumer {
                    inputs.file(inputFile)
                    outputs.file(outputFile)
                    doLast {
                        outputFile.text = inputFile.text
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

                    def go() { }
                }
    
                class NestedBean {
                    NestedBean(RegularFileProperty inputFile) {
                        this.inputFile = inputFile
                    }
    
                    @InputFile
                    final RegularFileProperty inputFile
                }
    
                class ConsumerTask extends DefaultTask {
    
                    @Nested
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputPropertyAnnotationHandler.java

                        .solution("Annotate with @InputFile for regular files")
                        .solution("Annotate with @InputFiles for collections of files")
                        .solution("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: Fri Apr 26 16:02:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskJvmArgsProviderIntegrationTest.groovy

                    inputFile: file(providers.gradleProperty('inputFile').get())
                )
            """
            file('inputFile.txt').text = "Test"
    
            expect:
            succeeds "test", "-PinputFile=inputFile.txt"
    
            when:
            file('different-file.txt').text = "Test"
            file("inputFile.txt").delete()
            run "test", "-PinputFile=different-file.txt"
    
            then:
            skipped(":test")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/GeneratorTaskTest.groovy

            when:
            task.inputFile = null
    
            then:
            task.inputFile == task.outputFile
    
            when:
            task.inputFile = inputFile
    
            then:
            task.inputFile == inputFile
        }
    
        def mergesConfigurationWhenInputFileExists() {
            def configObject = new TestConfigurationObject()
            inputFile.text = 'config'
    
            when:
            task.generate()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top