This is my Gradle Java generic project. By default it compiles classes and dependencies to a single .jar file (uberjar)