- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createHelloTask (0.24 sec)
-
platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out
| Creator: PersonRules#person(Person) + tasks | Type: org.gradle.model.ModelMap<org.gradle.api.Task> | Creator: Project.<init>.tasks() | Rules: ⤷ PersonRules#createHelloTask(ModelMap<Task>, Person) + buildEnvironment | Type: org.gradle.api.tasks.diagnostics.BuildEnvironmentReportTask | Value: task ':buildEnvironment'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 15:10:38 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/groovy/build.gradle
p.firstName = "John" } // end::plugin-mutate-rule[] // tag::task-create-rule[] //Create a rule that modifies a ModelMap<Task> and takes as input a Person @Mutate void createHelloTask(ModelMap<Task> tasks, Person p) { tasks.create("hello") { doLast { println "Hello $p.firstName $p.lastName!" } } } // end::task-create-rule[] } apply plugin: PersonRules
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0)