Build

Creating fat JARs with gradle

Reading Time: 2 minutes
Here’s a quick tutorial on how to package your java application and dependencies into single fat JAR (shadow JAR, capsule, however it’s called) with gradle. Easy solution using built-in JAR gradle plugin jar { from {configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } } What it means: * jar Read more…

By romanmarkunas, ago