In gradle, if I have a master project and two subprojects, can I have the master project NOT generate output directory at all? I already override it so no .classpath and .project is generated as the master is never an eclipse project(which makes it very easy to import 5 projects into ecipse as you just click the master project instead to import which auto imports the 5 children but ONLY if not .classpath/.project exist in master).
My full gradle build file is on this post
and currently, gradle generates a very empty jar except for manifest in “output/libs”(I overrode the build dir as we have a file with the name build that conflicts).
thanks,
Dean
Sounds like you might be applying the
javaplugin to the root project (e.g. viaallprojects { ... }. If the root project doesn’t have any Java code, you should only apply the plugin tosubprojects { ... }.