- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,074 for property2 (0.18 sec)
-
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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PropertyDelegate.kt
} internal fun propertyDelegateFor(dynamicLookupRoutine: DynamicLookupRoutine, target: Any, property: KProperty<*>): PropertyDelegate = dynamicObjectFor(target).let { owner -> if (property.returnType.isMarkedNullable) NullableDynamicPropertyDelegate(dynamicLookupRoutine, owner, property.name) else NonNullDynamicPropertyDelegate(dynamicLookupRoutine, owner, property.name) { target.toString() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 09:50:04 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/AbstractDevelocityInputIgnoringServiceIntegrationTest.groovy
println "buildscript.property = \${propertyProvider.get()}" task check {} """ when: succeeds("check", "-Dproperty=value") then: outputContains("backgroundJob.property = value") outputContains("buildscript.property = value") configurationCache.assertStateStored() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 29 16:27:53 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PropertyStateExtensions.kt
package org.gradle.kotlin.dsl import org.gradle.api.provider.Property import kotlin.reflect.KProperty /** * Property delegate for [Property] instances. * * Example: `val someProperty by somePropertyState` */ operator fun <T> Property<T>.getValue(receiver: Any?, property: KProperty<*>): T = get() /** * Property delegate for [Property] instances. * * Example: `var someProperty by somePropertyState`
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/TaskContainerExtensions.kt
property: KProperty<*> ) = ExistingDomainObjectDelegate.of( delegateProvider.named(property.name, type) ) /** * Provides a [TaskProvider] delegate for the task of the given type named after the property after configuring it with the given action. */ operator fun <U : Task> ExistingDomainObjectDelegateProviderWithTypeAndAction<out TaskContainer, U>.provideDelegate( receiver: Any?, property: KProperty<*>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 22:09:44 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ConfigurableFileCollectionExtensions.kt
import org.gradle.api.file.FileCollection import kotlin.reflect.KProperty /** * Property delegate for [ConfigurableFileCollection] instances. * * Example: `val aFileCollection by project.files()` */ operator fun ConfigurableFileCollection.getValue(receiver: Any?, property: KProperty<*>): ConfigurableFileCollection = this /** * Property delegate for [ConfigurableFileCollection] instances. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.6K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localDelegatedProperty.kt
// MODULE: context // FILE: context.kt import kotlin.reflect.KProperty class Delegate(private var value: String) { operator fun getValue(thisRef: Any?, property: KProperty<*>): String { return value } operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) { this.value = value } } fun test() { var x by Delegate("a") <caret_context>x } // MODULE: main
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 541 bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt
.filter { property -> (includeMemberFilter.shouldIncludeMember(property) || kClass.primaryConstructor?.parameters.orEmpty().any { it.name == property.name && it.type == property.returnType }) && property.visibility == KVisibility.PUBLIC && propertyNamePredicate(property.name) }.map { property -> kPropertyInformation(property) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 6.7K bytes - Viewed (0)