Skip to content

Commit

Permalink
vtm-theme-comparator: add 'fatjar' Gradle task #387
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Sep 5, 2017
1 parent 4532e39 commit eddfa5a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vtm-theme-comparator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit eddfa5a

Please sign in to comment.