Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 665 for PROPERTY (0.19 sec)

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

            when:
            configurationCacheRun("-Dsome.property.1=1", "-Dsome.property.2=2", "print")
    
            then:
            configurationCache.assertStateStored()
            outputContains("Configuration: some.property.1 = 0")
            outputContains("Configuration: some.property.2 = 2")
    
            when:
            configurationCacheRun("-Dsome.property.1=-1", "-Dsome.property.2=2", "print")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            if (getterMethod == null) {
                throw new NoSuchPropertyException(String.format("Could not find getter method for property '%s' on class %s.", property, target.getSimpleName()));
            }
            return new GetterMethodBackedPropertyAccessor<T, F>(property, returnType, getterMethod);
        }
    
        /**
         * Locates the property with the given name as a readable property. Searches only public properties.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            "${Property.name}<String>"            | "objects.property(String); v.set('abc')"              | "objects.property(String); v.set('123')"                     | "Type 'SomeTask': property 'v' of mutable type 'org.gradle.api.provider.Property' is writable. Properties of type 'org.gradle.api.provider.Property' are already mutable. Possible solution: Remove the 'setV' method. ${learnAt("validation_problems",...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                def property = objects.mapProperty(Integer, Integer)
                property.set(provider)
    
                assert property.get() == [1: 2]
                assert property.get() == [3: 4]
                property.disallowChanges()
                assert property.get() == [5: 6]
                assert property.get() == [7: 8]
    
                property.set([1: 2])
                '''.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy

            output.contains "Input property 'input'"
            output.contains "Input property 'bean'"
    
            output.contains "Input property 'bean.input'"
            output.contains "Input property 'bean.nestedBean'"
            output.contains "Input file property 'bean.inputDir'"
            output.contains "Input file property 'bean.nestedBean.inputFile'"
            output.contains "Output file property 'bean.outputDir'"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 21 19:38:50 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

    The value of this property is derived from:
      - extension 'custom2' property 'source'
      - extension 'custom1' property 'source'""")
        }
    
        def "can use property with no value as optional ad hoc task input property"() {
            given:
            buildFile << """
    
    def prop = project.objects.property(String)
    
    task thing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                warning(unsupportedValueTypeConfig { type('MyTask').property('nestedBean.nestedInput').propertyType('Property<URL>') }, "validation_problems", "unsupported_value_type"),
                warning(unsupportedValueTypeConfig { type('MyTask').property('propertyInput').propertyType('Property<URL>') }, "validation_problems", "unsupported_value_type"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                contextualLabel == "Type \'MyTask\' property \'options.nestedThing\' is annotated with invalid property type @$ann.simpleName"
                details == "The '@${ann.simpleName}' annotation cannot be used in this context"
                solutions == [
                    'Remove the property',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                        "java/com/example/Task.java",
                        """
                            package com.example;
                            import org.gradle.api.provider.Property;
    
                            public abstract class Task {
                                public abstract Property<String> getSourceCompatibility();
                            }
                        """
                    )
                }
            ) {
                assertHasErrors(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

                "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)
Back to top