- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for DefaultProperty (0.3 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy
def "equals should return true for 2 containers with different provider instances that return the same value"() { Property<String> testProperty1 = new DefaultProperty<>(Mock(PropertyHost), String).convention("value") Property<String> testProperty2 = new DefaultProperty<>(Mock(PropertyHost), String).convention("value") def testAttribute = Attribute.of("test", String)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 08 14:34:28 UTC 2023 - 15.3K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy
TestFile manifestFile = tmpDir.file('manifest') fileResolver.resolve('manifest') >> manifestFile def mainValue = new DefaultProperty<>(Mock(PropertyHost), String) mainValue.set('hello') Map mainAttributes = [mainKey: mainValue] def sectionValue = new DefaultProperty<>(Mock(PropertyHost), String) sectionValue.set('world') Map sectionAttributes = [sectionKey: sectionValue]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt
) : Codec<DefaultProperty<*>> { override suspend fun WriteContext.encode(value: DefaultProperty<*>) { encodePreservingIdentityOf(value) { writeClass(value.type as Class<*>) providerCodec.run { encodeProvider(value.provider) } } } override suspend fun ReadContext.decode(): DefaultProperty<*> { return decodePreservingIdentity { id ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy
import org.gradle.util.TestUtil class DefaultPropertyTest extends AbstractPropertySpec<String> { DefaultProperty<String> property() { return propertyWithDefaultValue(String) } DefaultProperty propertyWithDefaultValue(Class type) { return new DefaultProperty(host, type) } @Override DefaultProperty<String> propertyWithNoValue() { return property() } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 11.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java
import org.gradle.api.cache.CacheResourceConfiguration; import org.gradle.api.cache.Cleanup; import org.gradle.api.cache.MarkingStrategy; import org.gradle.api.internal.DocumentationRegistry; import org.gradle.api.internal.provider.DefaultProperty; import org.gradle.api.internal.provider.DefaultProvider; import org.gradle.api.internal.provider.PropertyHost; import org.gradle.api.invocation.Gradle; import org.gradle.api.model.ObjectFactory;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 20:26:37 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java
import org.gradle.api.file.RegularFileProperty; import org.gradle.api.internal.provider.AbstractMinimalProvider; import org.gradle.api.internal.provider.BiProvider; import org.gradle.api.internal.provider.DefaultProperty; import org.gradle.api.internal.provider.MappingProvider; import org.gradle.api.internal.provider.PropertyHost; import org.gradle.api.internal.provider.Providers; import org.gradle.api.provider.Provider;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:53:33 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt
private fun readResolve(): Any = DefaultRequired } } } object ConfigureAccessorInternal { @Serializable @SerialName("property") data class DefaultProperty(override val dataProperty: DataProperty) : ConfigureAccessor.Property @Serializable @SerialName("custom")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt
val accessor = if (property != null) ConfigureAccessorInternal.DefaultProperty(property) else ConfigureAccessorInternal.DefaultConfiguringLambdaArgument(configuredType.toDataTypeRefOrError()) FunctionSemanticsInternal.DefaultAccessAndConfigure(accessor, returnType, blockRequirement)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 13.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
failureDescriptionContains("Configuration cache state could not be cached: field `__stringInput__` of task `:failingTask` of type `FailingTask`: error writing value of type 'org.gradle.api.internal.provider.DefaultProperty'") } else { failureHasCause("Failed to calculate the value of task ':failingTask' property 'stringInput'.") } failureHasCause("BOOM") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0)