diff --git a/build.gradle b/build.gradle index 6f3bd4a..502fcf3 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,16 @@ apply plugin: 'application' sourceCompatibility = 1.6 mainClassName = "net.headlezz.resdiff.ResdiffPackage" +jar { + manifest { + attributes "Main-Class": "$mainClassName" + } + + from { + configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } + } +} + buildscript { repositories { mavenCentral()