- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for PrintValue (0.37 sec)
-
platforms/documentation/docs/src/snippets/tutorial/systemProperties/kotlin/build.gradle.kts
println(providers.systemProperty("system").get()) // end::system-properties[] abstract class PrintValue : DefaultTask() { @get:Input abstract val inputValue: Property<String> @TaskAction fun action() { println(inputValue.get()) } } // tag::system-properties-task-inputs[] tasks.register<PrintValue>("printProperty") { // Using the Gradle API, provides a lazy Provider<String> wired to a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 653 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/environmentVariables/kotlin/build.gradle.kts
println(providers.environmentVariable("ENVIRONMENTAL").get()) // end::configuration[] abstract class PrintValue : DefaultTask() { @get:Input abstract val inputValue: Property<String> @TaskAction fun action() { println(inputValue.get()) } } // tag::execution[] tasks.register<PrintValue>("printValue") { // Using the Gradle API, provides a lazy Provider<String> wired to a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 629 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/systemProperties/groovy/build.gradle
println providers.systemProperty('system').get() // end::system-properties[] abstract class PrintValue extends DefaultTask { @Input abstract Property<String> getInputValue() @TaskAction void action() { println(inputValue.get()) } } // tag::system-properties-task-inputs[] tasks.register('printProperty', PrintValue) { // Using the Gradle API, provides a lazy Provider<String> wired to a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 652 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/environmentVariables/groovy/build.gradle
println providers.environmentVariable('ENVIRONMENTAL').get() // end::configuration[] abstract class PrintValue extends DefaultTask { @Input abstract Property<String> getInputValue() @TaskAction void action() { println(inputValue.get()) } } // tag::execution[] tasks.register('printValue', PrintValue) { // Using the Gradle API, provides a lazy Provider<String> wired to a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 627 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/projectProperties/groovy/build.gradle
// Using Groovy dynamic names, throws if not present println myProjectProp // end::configuration[] abstract class PrintValue extends DefaultTask { @Input abstract Property<String> getInputValue() @TaskAction void action() { println(inputValue.get()) } } // tag::execution[] tasks.register('printValue', PrintValue) { // Eagerly accessing the value of a project property, set as a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 867 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/projectProperties/kotlin/build.gradle.kts
val myProjectProp: String by project println(myProjectProp) // end::configuration[] abstract class PrintValue : DefaultTask() { @get:Input abstract val inputValue: Property<String> @TaskAction fun action() { println(inputValue.get()) } } // tag::execution[] tasks.register<PrintValue>("printValue") { // Eagerly accessing the value of a project property, set as a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 918 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/gradleProperties/kotlin/build.gradle.kts
val gradlePropertiesProp: String by project println(gradlePropertiesProp) // end::gradle-properties[] abstract class PrintValue : DefaultTask() { @get:Input abstract val inputValue: Property<String> @TaskAction fun action() { println(inputValue.get()) } } // tag::gradle-properties-task-inputs[] tasks.register<PrintValue>("printProperty") { // Using the API, provides a lazy Provider<String> wired to a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 731 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/gradleProperties/groovy/build.gradle
println project['gradlePropertiesProp'] // end::gradle-properties[] abstract class PrintValue extends DefaultTask { @Input abstract Property<String> getInputValue() @TaskAction void action() { println(inputValue.get()) } } // tag::gradle-properties-task-inputs[] tasks.register('printProperty', PrintValue) { // Using the API, provides a lazy Provider<String> wired to a task input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 796 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/projectProperties/tests-groovy/projectPropertiesGroovy.sample.conf
executable: gradle args: printValue flags: "--quiet --stacktrace -Dorg.gradle.project.myProjectProp=systemPropertyValue"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 165 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy
${serviceTaskImpl("printValue", injectionAnnotation, propertyType, valueGetter, taskConfiguration)} """) when: configurationCacheRun("printValue") then: // Note that load-after-store doesn't check build fingerprint configurationCache.assertStateStored() when: configurationCacheRun("printValue")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 11:47:23 UTC 2024 - 29.1K bytes - Viewed (0)