- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,326 for propertyOf (0.28 sec)
-
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt
} @Test fun `can serialize Kotlin action with Property`() { val loaded = valueCarriedBy(roundtripOf(isolatedActionCarrying(propertyOf("42")))) assertThat( loaded.get(), equalTo("42") ) } @Test fun `can serialize Java lambda with Property`() { assertProviderRoundtrip( propertyOf("42"), "42" ) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ManagedFactories.java
} // TODO - should preserve the property type (which may be different to the provider type) ProviderInternal<S> provider = Cast.uncheckedNonnullCast(state); return type.cast(propertyOf(provider.getType(), provider)); } <V> Property<V> propertyOf(Class<V> type, Provider<V> value) { return propertyFactory.property(type).value(value); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
maven-core/src/test/resources-project-builder/full-interpolation/pom.xml
<property15>${property14}</property15> <property13>${property12}</property13> <property11>${property10}</property11> <property09>${property08}</property09> <property07>${property06}</property07> <property05>${property04}</property05> <property03>${property02}</property03> <property01>${property00}</property01> <property00>PASSED</property00>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Mar 29 19:02:56 UTC 2020 - 2.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/provider/Property.java
*/ Property<T> value(@Nullable T value); /** * Sets the property to have the same value as the given provider, replacing whatever value the property already had. * This property will track the value of the provider and query its value each time the value of the property is queried. * When the provider has no value, this property will also have no value. This is the same as {@link #set(Provider)}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:06:55 UTC 2024 - 8.3K bytes - Viewed (0) -
maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-property-with-project-expressions.xml
<packaging>pom</packaging> <profiles> <profile> <id>property-name-project-version</id> <activation> <property> <name>${project.version}</name> </property> </activation> </profile> <profile> <id>property-value-project-version</id> <activation> <property> <name>project.version</name> <value>${project.version}</value>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 13:13:07 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/property/tests/property.sample.conf
Laura Kassovic <******@****.***> 1712936267 -0700
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 15:37:47 UTC 2024 - 176 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/intercept/InterceptScopeTest.groovy
firstScope | secondScope InterceptScope.readsOfPropertiesNamed("property1") | InterceptScope.readsOfPropertiesNamed("property2") InterceptScope.methodsNamed("method1") | InterceptScope.methodsNamed("method2") } def "method and property scopes with the same name are not equal"() { when: InterceptScope methodScope = InterceptScope.methodsNamed("name")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 03 11:20:13 UTC 2022 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java
* * <p>The managed property represents a property that is able to serve all its declaring view methods. For example, if the view * types declaring the struct only specify the property via a getter, then the managed property will be read-only. However, if * even one of the view types declare a setter for the property, it will be a read-write property. </p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/TypeMetadataWalker.java
/** * A factory method for a walker that can visit the property hierarchy of an instance. * * When visiting a nested property, child properties are discovered using the type of the * return property value. This can be a more specific type than the return type of the property's * getter method (and can declare additional child properties). *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java
* * @see #properties(Map) * @see #property(String, Object) */ public void setProperties(Map<String, Object> properties) { this.properties.clear(); properties(properties); } /** * Adds a property to be written to the properties file. * <p> * A property's value will be coerced to a <code>String</code> with <code>String#valueOf(Object)</code> or a
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.3K bytes - Viewed (0)