Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,074 for PROPERTY (0.1 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/provider/MapProperty.java

         * This property will query the entries of the map each time the value of this property is queried.
         *
         * <p>This method can also be used to discard the value of the property, by passing {@code null} as the value.
         * The convention for this property, if any, will be used to provide the value instead.
         *
         * @param entries the entries, can be {@code null}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:25:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

                    property("kind", "SystemProperty")
                    comma()
                    property("name", trace.name)
                }
    
                is PropertyTrace.Task -> {
                    property("kind", "Task")
                    comma()
                    property("path", trace.path)
                    comma()
                    property("type", trace.type.name)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. subprojects/core-api/src/test/groovy/org/gradle/api/internal/provider/views/AbstractHasMultiValuesPropertyCollectionViewTest.groovy

        }
    
        def "provider modifications should be visible on a view"() {
            given:
            def property = multiValueProperty()
            Collection<String> collection = newCollection(property)
    
            when:
            property.add("first")
            property.add("second")
            property.add("third")
            property.addAll(["forth", "fifth"])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

        }
    
        private static boolean isNameProperty(PropertyMetadata property) {
            // Property is read only, called "name", has type String and getter is abstract
            return property.isReadOnly() && "name".equals(property.getName()) && property.getType() == String.class && property.getMainGetter().isAbstract();
        }
    
        private static boolean hasPropertyType(PropertyMetadata property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy

        def "can finalize the value of a property using API"() {
            given:
            buildFile """
    Integer counter = 0
    def provider = providers.provider { [++counter, ++counter] }
    
    def property = objects.listProperty(Integer)
    property.set(provider)
    
    assert property.get() == [1, 2]
    assert property.get() == [3, 4]
    property.finalizeValue()
    assert property.get() == [5, 6]
    assert property.get() == [5, 6]
    
    property.set([1])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:57:00 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    ====
    include::sample[dir="snippets/providers/property/kotlin",files="build.gradle.kts[tags=set-prop]"]
    include::sample[dir="snippets/providers/property/groovy",files="build.gradle[tags=set-prop]"]
    ====
    
    Properties:
    
    * Properties with these types are configurable.
    * `Property` extends the `Provider` interface.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/provider/HasMultipleValues.java

        /**
         * Sets the value of the property to the elements of the given iterable, and replaces any existing value. This property will query the elements of the iterable each time the value of this property is queried.
         *
         * <p>This method can also be used to discard the value of the property, by passing {@code null} as the value.
         * The convention for this property, if any, will be used to provide the value instead.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:32:13 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlayTest.kt

                    * property(a, literal(33)) -> ShadowedProperty(underlayProperty=property(a, literal(3)), overlayProperty=property(a, literal(33)))
                        - literal(33) -> FromOverlay(documentNode=property(a, literal(33)))
                    * property(b, literal(6)) -> FromOverlay(documentNode=property(b, literal(6)))
                        - literal(6) -> FromOverlay(documentNode=property(b, literal(6)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/provider-task-properties.txt

    Method <org.gradle.api.plugins.antlr.AntlrTask.getMaxHeapSize()> does not have raw return type assignable to org.gradle.api.provider.Property in (AntlrTask.java:0)
    Method <org.gradle.api.plugins.antlr.AntlrTask.getOutputDirectory()> does not have raw return type assignable to org.gradle.api.provider.Property in (AntlrTask.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/AbstractBuildOption.java

        }
    
        public AbstractBuildOption(String property, V... commandLineOptionConfiguration) {
            this(property, null, commandLineOptionConfiguration != null ? Arrays.asList(commandLineOptionConfiguration) : Collections.<V>emptyList());
        }
    
        private AbstractBuildOption(String property, String deprecatedProperty, List<V> commandLineOptionConfigurations) {
            this.property = property;
            this.deprecatedProperty = deprecatedProperty;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top