I want to run a small collection of tasks at the same time under a new task name like mylocaldevflow.
What is the best way to do this?
I can make a custom task like:
task localflow {
description 'Task to ease local development.'
}
localflow.dependsOn snapshot
localflow.dependsOn javadoc
localflow.dependsOn build
localflow.dependsOn publishToMavenLocal
But this seems to suffer from being up to date when the dependent tasks are not.
In addition to not being up to date aware it only runs the top level 'build' task and ignores the sub module build tasks in the build.
I don't want to use the default tasks list for this if possible.