- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for mytaskB (0.12 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/TaskOptionsSpec.groovy
${defineTaskWithProfileOption()} tasks.register('mytaskA', MyTask.class) tasks.register('mytaskB', MyTask.class) """ then: succeeds "--", "mytaskA", "--profile", "myvalueA", "mytaskB", "--profile", "myvalueB" output.contains "profile=myvalueA" output.contains "profile=myvalueB" } def "task options apply to most recent task -- first task only"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 15:32:52 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/testKit/kotlin/src/main/kotlin/org/example/MyTask.kt
package org.example import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction abstract class MyTask : DefaultTask() { @TaskAction fun action() = Unit
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 178 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/testKit/groovy/src/main/groovy/org/example/MyTask.groovy
package org.example import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction abstract class MyTask extends DefaultTask { @TaskAction void action() {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 179 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MergeProviderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/containers-api/kotlin/build.gradle.kts
plugins { `java-library` } // tag::api[] tasks.named("check") // <1> tasks.register("myTask1") // <2> tasks.named<JavaCompile>("compileJava") // <3> tasks.register<Copy>("myCopy1") // <4> tasks.named("assemble") { // <5> dependsOn(":myTask1") } tasks.register("myTask2") { // <6> description = "Some meaningful words" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 597 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/containers-delegated-properties/kotlin/build.gradle.kts
plugins { `java-library` } // tag::delegated-properties[] val check by tasks.existing val myTask1 by tasks.registering val compileJava by tasks.existing(JavaCompile::class) val myCopy1 by tasks.registering(Copy::class) val assemble by tasks.existing { dependsOn(myTask1) // <1> } val myTask2 by tasks.registering { description = "Some meaningful words" } val test by tasks.existing(Test::class) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 579 bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskCreationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 13 09:05:07 UTC 2021 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskOverwritingIntegrationTest.groovy
result.output.count("Lazy 2 :myTask") == 1 result.output.count("Configure :myTask") == 1 } def "cannot overwrite a lazy task creation with a eager task creation with a different type"() { buildFile << ''' class MyTask extends DefaultTask {} def myTask = tasks.register("myTask", SomeTask) { assert false, "This task is overwritten before been realized"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 13 09:05:07 UTC 2021 - 4.5K bytes - Viewed (0)