- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MessageExtension (0.33 sec)
-
platforms/documentation/docs/src/snippets/providers/connectProperties/groovy/build.gradle
// A project extension interface MessageExtension { // A configurable greeting Property<String> getGreeting() } // A task that displays a greeting abstract class Greeting extends DefaultTask { // Configurable by the user @Input abstract Property<String> getGreeting() // Read-only property calculated from the greeting @Internal final Provider<String> message = greeting.map { it + ' from Gradle' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/connectProperties/kotlin/build.gradle.kts
// A project extension interface MessageExtension { // A configurable greeting abstract val greeting: Property<String> } // A task that displays a greeting abstract class Greeting : DefaultTask() { // Configurable by the user @get:Input abstract val greeting: Property<String> // Read-only property calculated from the greeting @Internal val message: Provider<String> = greeting.map { it + " from Gradle" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0)