I added a task to the gradle project:
task deploy() { dependsOn "build"
Now the build task is always executed before the deploy task. This is great because the build task involves many steps. Now I want to explicitly disable one of these included tasks.
I usually disconnect it from the command line using
gradle deploy -x test
How can I exclude the test task programmatically?
source share