Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 244 for PROPERTY (0.12 sec)

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

                error(missingAnnotationConfig { type('MyTask').property('badTime').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
                error(missingAnnotationConfig { type('MyTask').property('oldThing').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                println("ValueSource result = \${vsResult.get()}")
                println("some.property = \${System.getProperty("some.property")}")
            """
    
            when:
            configurationCacheRun("-Dsome.property=1")
    
            then:
            configurationCache.assertStateStored()
            outputContains("some.property = 1")
            problems.assertResultHasProblems(result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        /**
         * Creates a shallow copy of this property. Further changes to this property (via {@code set(...)}, or {@code convention(Object...)}) do not
         * change the copy. However, the copy still reflects changes to the underlying providers that constitute this property. Consider the following snippet:
         * <pre>
         *     def upstream = objects.property(String).value("foo")
         *     def property = objects.property(String).value(upstream)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

            "Property<Integer>"           | "int"            | "self.getProperty().getOrElse(0)"                | ".set(arg0)"       | []
            "Property<Boolean>"           | "boolean"        | "self.getProperty().getOrElse(false)"            | ".set(arg0)"       | []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt

            if (objectReflection is ObjectReflection.DataObjectReflection) {
                conversionFilter.filterProperties(objectReflection).forEach { property ->
                    val assigned = objectReflection.properties.getValue(property)
                    applyPropertyValue(objectReflection.objectOrigin, property, assigned)
                    apply(assigned.value, conversionFilter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java

        private String type;
        private final Property<Boolean> splitProject = getProject().getObjects().property(Boolean.class);
        private String dsl;
        private final Property<Boolean> useIncubatingAPIs = getProject().getObjects().property(Boolean.class);
        private String testFramework;
        private String projectName;
        private String packageName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    someTaskInputs.property = $reference
                }
            """
            when:
            configurationCacheRun "ok"
            configurationCacheRun "ok"
    
            then:
            outputContains("task.nested.property = $output")
    
            where:
            type                    | reference            | output
            "Property<String>"      | "'value'"            | "value"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java

            }
    
            @Override
            public Property<Long> getRemoveUnusedEntriesOlderThan() {
                return removeUnusedEntriesOlderThan;
            }
    
            /**
             * @implNote Returns a supplier mapped from the property.  This provides a supplier that is resilient
             * to subsequent changes to the property value as opposed to just calling get() on the property.
             */
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

                    }
    
                    @Restricted
                    public abstract Property<String> getName();
    
                    @Restricted
                    public abstract Property<Boolean> getRead();
    
                    @Restricted
                    public abstract Property<Boolean> getWrite();
                }
    
                public static class Point {
                    public final int xCoord;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            outputContains "$description property 'greeting' has changed"
    
            where:
            kind     | option | description | reportedInput
            'system' | 'D'    | 'system'    | "system property 'greeting'"
    //        'gradle' | 'P'    | 'Gradle'    | "Gradle property 'greeting'"
        }
    
        def "mapped system property used as task input"() {
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top