- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,664 for PROPERTY (0.16 sec)
-
platforms/documentation/docs/src/snippets/providers/propertyConvention/groovy/build.gradle
tasks.register("show") { def property = objects.property(String) // Set a convention property.convention("convention 1") println("value = " + property.get()) // Can replace the convention property.convention("convention 2") println("value = " + property.get()) property.set("explicit value") // Once a value is set, the convention is ignored property.convention("ignored convention")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 540 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/propertyConvention/kotlin/build.gradle.kts
tasks.register("show") { val property = objects.property(String::class) // Set a convention property.convention("convention 1") println("value = " + property.get()) // Can replace the convention property.convention("convention 2") println("value = " + property.get()) property.set("explicit value") // Once a value is set, the convention is ignored property.convention("ignored convention")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 547 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtraPropertiesExtensions.kt
get() = extensions.extraProperties /** * Provides property delegate for typed access to extra properties. */ operator fun ExtraPropertiesExtension.provideDelegate(receiver: Any?, property: KProperty<*>): MutablePropertyDelegate = if (property.returnType.isMarkedNullable) NullableExtraPropertyDelegate(this, property.name) else NonNullExtraPropertyDelegate(this, property.name) private class NonNullExtraPropertyDelegate(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/TransformBackedProviderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:06:10 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy
"System.properties['some.property']" | _ "System.getProperties().get('some.property')" | _ "getProperties().get('some.property')" | _ "System.getProperty('some.property')" | _ "getProperty('some.property')" | _ "System.getProperty('some.property', 'default.value')" | _ "getProperty('some.property', 'default.value')" | _
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleActionParameters.java
import org.gradle.api.provider.MapProperty; import org.gradle.api.provider.Property; public interface CheckstyleActionParameters extends AntWorkParameters { RegularFileProperty getConfig(); ConfigurableFileCollection getSource(); Property<Integer> getMaxErrors(); Property<Integer> getMaxWarnings(); Property<Boolean> getIgnoreFailures(); DirectoryProperty getConfigDirectory();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy
"System.getProperties().get(\"some.property\")" | _ "System.getProperty(\"some.property\")" | _ "System.getProperty(\"some.property\", \"default.value\")" | _ "System.setProperty(\"some.property\", \"new.value\")" | _ "System.clearProperty(\"some.property\")" | _ } def "setProperties is instrumented in Java"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionPropertyInternal.java
/** * Adds an element to the property value. * * <p>The given provider will be queried when the value of this property is queried. * * <p> * When invoked on a property with no value, this method first sets the value * of the property to its current convention value, if set, or an empty collection. * </p> * <p>Even if the given provider has no value, after this method is invoked,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 18:32:13 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomRelocation.java
groupId = objectFactory.property(String.class); artifactId = objectFactory.property(String.class); version = objectFactory.property(String.class); message = objectFactory.property(String.class); } @Override public Property<String> getGroupId() { return groupId; } @Override public Property<String> getArtifactId() { return artifactId;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomScm.java
connection = objectFactory.property(String.class); developerConnection = objectFactory.property(String.class); url = objectFactory.property(String.class); tag = objectFactory.property(String.class); } @Override public Property<String> getConnection() { return connection; } @Override public Property<String> getDeveloperConnection() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 1.7K bytes - Viewed (0)