Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for InputProperty (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

                        private $typeName inputProperty;
                        ${type.primitive ? '' : "@${Optional.name}"}
                        @${Input.name}
                        public $typeName getInputProperty() { return inputProperty; }
                        public void setInputProperty($typeName value) { this.inputProperty = value; }
                        @${TaskAction.name}
                        void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

            visitor.leaves == [
                "inputProperty::Property[first-property]",
                "nested.inputProperty::Property[second-property]",
                "nestedList.\$0.inputProperty::Property[second-property]",
                "nestedList.\$1.inputProperty::Property[second-property]",
                "nestedListOfLists.\$0.\$0.inputProperty::Property[second-property]",
                "nestedMap.key1.inputProperty::Property[second-property]",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/InputParameterUtils.java

    public class InputParameterUtils {
        @Nullable
        public static Object prepareInputParameterValue(InputPropertySpec inputProperty, Task task) {
            String propertyName = inputProperty.getPropertyName();
            try {
                return prepareInputParameterValue(inputProperty.getValue());
            } catch (Exception ex) {
                throw new PropertyEvaluationException(task, propertyName, ex);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 14 08:05:31 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tasks/incrementalTask/kotlin/build.gradle.kts

    }
    // end::removed-output[]
    
    // tag::reverse[]
    tasks.register<IncrementalReverseTask>("incrementalReverse") {
        inputDir = file("inputs")
        outputDir = layout.buildDirectory.dir("outputs")
        inputProperty = project.findProperty("taskInputProperty") as String? ?: "original"
    }
    // end::reverse[]
    
    tasks.named("incrementalReverse") { mustRunAfter("originalInputs", "updateInputs", "removeInput", "removeOutput") }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            then:
            if (inputProperty == "variant") {
                skipped ":project-lib:jar", ":composite-lib:jar"
                executedAndNotSkipped ":verify"
            } else {
                skipped ":project-lib:jar", ":composite-lib:jar", ":verify"
            }
    
            where:
            inputProperty | inputType
            "id"          | "ComponentArtifactIdentifier"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/DefaultTaskCacheabilityResolverTest.groovy

    import spock.lang.Specification
    
    import javax.annotation.Nullable
    
    class DefaultTaskCacheabilityResolverTest extends Specification {
        def task = Stub(TaskInternal)
        def inputProperty = Stub(InputFilePropertySpec)
        def cacheableOutputProperty = Stub(CacheableOutputFilePropertySpec)
        def relativeFilePathResolver = Mock(RelativeFilePathResolver)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 18 08:25:11 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskInputs.java

            Map<String, Object> result = new HashMap<>();
            for (InputPropertySpec inputProperty : visitor.getProperties()) {
                result.put(inputProperty.getPropertyName(), InputParameterUtils.prepareInputParameterValue(inputProperty, task));
            }
            return Collections.unmodifiableMap(result);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle

    }
    // end::removed-output[]
    
    // tag::reverse[]
    tasks.register('incrementalReverse', IncrementalReverseTask) {
        inputDir = file('inputs')
        outputDir = layout.buildDirectory.dir("outputs")
        inputProperty = project.properties['taskInputProperty'] ?: 'original'
    }
    // end::reverse[]
    
    incrementalReverse.mustRunAfter(originalInputs, updateInputs, removeInput, removeOutput)
    
    // tag::incremental-task[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/PropertyTraceTest.kt

                    PropertyKind.Field,
                    "f",
                    PropertyTrace.Bean(
                        beanType,
                        PropertyTrace.Property(
                            PropertyKind.InputProperty,
                            "i",
                            PropertyTrace.Task(
                                taskType,
                                ":t"
                            )
                        )
                    )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

            TaskProperties taskProperties = context.getTaskProperties();
            for (InputPropertySpec inputProperty : taskProperties.getInputProperties()) {
                visitor.visitInputProperty(
                    inputProperty.getPropertyName(),
                    () -> InputParameterUtils.prepareInputParameterValue(inputProperty, task));
            }
            for (InputFilePropertySpec inputFileProperty : taskProperties.getInputFileProperties()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top