With the gradle java plugin, you get the following tasks that are very neat:
buildDependents
buildNeeded
I would like to have similar tasks to run tests.
testDependents - Runs unit tests for this project and all projects that depend on it.
testNeeded - Run unit tests for this and all the projects on which it depends.
Is there any way to create such custom tasks in gradle?
source share