Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shouldSkipWhenEmpty (0.21 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/GetInputFilesVisitor.java

                value,
                behavior,
                normalizeDirectorySensitivity(normalizer, directorySensitivity),
                lineEndingSensitivity
            ));
            if (behavior.shouldSkipWhenEmpty()) {
                hasSourceFiles = true;
            }
        }
    
        private DirectorySensitivity normalizeDirectorySensitivity(FileNormalizer normalizer, DirectorySensitivity directorySensitivity) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/InputBehavior.java

        public boolean shouldTrackChanges() {
            return trackChanges;
        }
    
        /**
         * Whether the work should be skipped and outputs be removed if the property is empty.
         */
        public boolean shouldSkipWhenEmpty() {
            return skipWhenEmpty;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractSkipEmptyWorkStep.java

                    @Override
                    public void visitInputFileProperty(String propertyName, InputBehavior behavior, InputFileValueSupplier value) {
                        if (behavior.shouldSkipWhenEmpty()) {
                            visitor.visitInputFileProperty(propertyName, behavior, value);
                        }
                    }
                }));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:24 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskInputs.java

                        PropertyValue value, InputFilePropertyType filePropertyType
                    ) {
                        if (!TaskInputUnionFileCollection.this.skipWhenEmptyOnly || behavior.shouldSkipWhenEmpty()) {
                            FileCollectionInternal actualValue = FileParameterUtils.resolveInputFileValue(fileCollectionFactory, filePropertyType, value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

                        } as TaskInputFilePropertyBuilderInternal).run {
                            withPropertyName(propertyName)
                            optional(optional)
                            skipWhenEmpty(inputBehavior.shouldSkipWhenEmpty())
                            withInternalNormalizer(normalizer)
                            ignoreEmptyDirectories(directorySensitivity == DirectorySensitivity.IGNORE_DIRECTORIES)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top