Skip to content

Commit

Permalink
Build fat jar
Browse files Browse the repository at this point in the history
  • Loading branch information
HSZemi committed Jan 15, 2019
1 parent 81f2c76 commit f4c556b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'maven'

group = 'net.cgro'
version = '1.2'
version = '2019.1'

description = """VoteManager"""

Expand Down Expand Up @@ -36,6 +36,9 @@ jar {
'Main-Class': 'net.cgro.votemanager.MainApp'
)
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

wrapper {
Expand Down

0 comments on commit f4c556b

Please sign in to comment.