diff --git a/vtm-theme-comparator/build.gradle b/vtm-theme-comparator/build.gradle index 027ce49c9..43e5e5f77 100644 --- a/vtm-theme-comparator/build.gradle +++ b/vtm-theme-comparator/build.gradle @@ -20,3 +20,13 @@ sourceSets { resources.srcDirs = ['resources'] } } + +task fatJar(type: Jar, dependsOn: classes) { + classifier = 'jar-with-dependencies' + from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } + exclude 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.SF' + manifest { + attributes('Main-Class': 'org.oscim.theme.comparator.Main') + } + with jar +}