I have a multiple module gradle build. I want to execute targets for one module using root. Ex :
gradle build -Pmodule=ABC gradle jar -Pmodule=ABC gradle t
To execute a task of a specific subproject, specify its task path. For example:
gradle :ABC:build
The leading : stands for the root project. ABC is the subproject, and build a task in that project.
:
ABC
build