- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newStringProperty (0.12 sec)
-
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslAssignmentIntegrationTest.kt
import org.gradle.kotlin.dsl.support.serviceOf data class Container(val property: Property<String>) fun newStringProperty(): Property<String> = gradle.serviceOf<ObjectFactory>().property(String::class.java) val container = Container(newStringProperty()).apply { property = "Hello world" } println("Settings property value: " + container.property.get())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.6K bytes - Viewed (0)