- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 266 for PROPERTY (0.25 sec)
-
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) -
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) -
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) -
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) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc
** `Property` extends the `Provider` interface. ** The method link:{javadocPath}/org/gradle/api/provider/Property.html#set-T-[Property.set(T)] specifies a value for the property, overwriting whatever value may have been present.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 30.1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy
error(missingAnnotationConfig { type('MyTask').property('tree.nonAnnotated').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'), error(missingAnnotationConfig { type('MyTask').property('tree.left.nonAnnotated').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 14:30:05 UTC 2024 - 11.1K bytes - Viewed (0)