- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MyTask (0.28 sec)
-
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc
General:: * `<<` for task definitions no longer works. In other words, you can not use the syntax `task myTask << { ... }`. + Use the link:{groovyDslPath}/org.gradle.api.Task.html#org.gradle.api.Task:doLast(org.gradle.api.Action)[Task.doLast()] method instead, like this: + ---- task myTask { doLast { ... } } ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 03:01:48 UTC 2024 - 60.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
Consider the case where the set of attributes on a `Configuration` is changed after an `ArtifactView` is created. ==== [.multi-language-sample] ===== .build.gradle.kts [source,kotlin] ---- tasks { myTask { inputFiles.from(configurations.classpath.incoming.artifactView { attributes { // Add attributes to select a different type of artifact } }.files) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 17:01:07 UTC 2024 - 90.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc
Here's a simple example demonstrating how to set and read extra properties using the map syntax: .build.gradle.kts [source,kotlin] ---- extra["myNewProperty"] = "initial value" // <1> tasks.create("myTask") { doLast { println("Property: ${project.extra["myNewProperty"]}") // <2> } } ---- <1> Creates a new project extra property called `myNewProperty` and sets its value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 20:16:10 UTC 2024 - 55.4K bytes - Viewed (0)