I have a multi-module project. Unfortunately I had to place build.gradle
and settings.gradle
in other directory(gradlep/
), rather than root directory, so that I have to use -p
option.
I found that I can execute multiple tasks on a specific submodule like this.
$ gradle -p gradlep/ :long-named-submodule:clean :long-named-submodule:build
Is there any way to invoke more concisely?