How to add subproject(jar) dependencies to the war project without compiling

(udhay kumar) #1

How to add subproject(jar) dependencies to the war project without compiling them again in war project
when I include the subproject dependency lik "compile project(’:a’) " it compiling the subproject again thought the sub project already compiled and the jar is available.

(udhay kumar) #2

I’m using “compile” to add the sub project dependency in war project, it recompiling the subproject which is alredy built(gradle builds all subprojects by default). Is there way to add the subproject dependency without using compile.