There are multiple sub-modules in my project .i want to create an executable jar of some sub-modules using gradle commands. Something like gradlew.bat --exclude :subProject1 bootJar.
Is there any commands like these?
There are multiple sub-modules in my project .i want to create an executable jar of some sub-modules using gradle commands. Something like gradlew.bat --exclude :subProject1 bootJar.
Is there any commands like these?
bootJar sounds like you are using Spring Boot Starter for this.
So you should probably look up in the Spring Boot docs how to achieve what you want. 