Skip to content

Tag: gradle

Gradle – add directory to classpath

My application requires that a config directory be available on the classpath when it looks for configurations files under the directory. I currently have dependencies configured like so, though this is probably not the correct way to make a directory available to my application: I am using the application pl…

High memory usage by gradle daemon

I am using Gradle 2.5 to compile a Java project which consists of 5 modules. In order to speed things up I also use the gradle-daemon. However, During compilation there are up to 18 instances of the gradle-daemon running. After compilation finishes there are still 15 instances of the daemon left. The daemons …

How to include subproject classes in jar?

After hours of researching and trying I hope that someone can explain how we can have Gradle including classes of one or more subproject into a specific jar. Lets say we have just three modules Core App Web Obviously the App and Web project artifacts (jars) should contain all classes from the Core project. Se…