- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for MyTask (0.1 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
buildFile.text = """ task myTask { doLast { println "myTask" } } """.stripIndent() when: def connector = toolingApi.connector() withConnection(connector) { connection -> def build = connection.newBuild() build.forTasks('myTask').run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 12:54:09 UTC 2024 - 21K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
interface Transformer {} class Impl implements Transformer {} class MyTask extends DefaultTask { public void transform(Class<? extends Transformer> c) { logger.lifecycle("transform(Class)") } public void transform(Transformer t) { logger.lifecycle("transform(Transformer)") } } task print(type: MyTask) { transform(Impl) // should call transform(Class) } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/Task.java
* org.gradle.api.tasks.TaskContainer#create(String)} creates an empty task with the given name. You can also use the * {@code task} keyword in your build file: </p> * <pre> * task myTask * task myTask { configure closure } * task myTask(type: SomeType) * task myTask(type: SomeType) { configure closure } * </pre> * * <p>Each task has a name, which can be used to refer to the task within its owning project, and a fully qualified
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 17:25:12 UTC 2024 - 31.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy
}.get().executablePath) task myTask { doLast { println "Hello from \${name}" } } """ when: withInstallations(jdkMetadata).run(":myTask") def events = toolchainEvents(":myTask") then: events.size() == 0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 28.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/reference/command_line_interface.adoc
To execute a task called `myTask` on the root project, type: ---- $ gradle :myTask ---- This will run the single `myTask` and all of its <<tutorial_using_tasks.adoc#sec:task_dependencies,dependencies>>. [[sec:disambiguate_task_options_from_built_in_options]] === Specify options for tasks
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 05:36:09 UTC 2024 - 34.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 15.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 31K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
} def "buildSrc is loaded from cache"() { configureCacheForBuildSrc() file("buildSrc/src/main/groovy/MyTask.groovy") << """ import org.gradle.api.* class MyTask extends DefaultTask {} """ when: withBuildCache().run "help" then: result.assertTaskNotSkipped(":buildSrc:compileGroovy")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0)