I have a gradle project. This project contains many modules. I would like to make 2 differents executables with some module activated or not. I have one executable with module1 and module2 like follow:
dependencies {
compile project(':module1')
compile project(':module2')
}
I would like a executable with module1 and module2, and another one with only module1.
For generate an executable I used launch4j and shadowjar.
How I can do that?
Thanks