Software Engineer is(should be) a most efficient Problem Solver.
I had moved to the sub module directory and run the following Gradle command.
gradle build
Now I build it in the paraten directory.
gradle :sub-module:build