Skip to content

Commit

Permalink
Add: jar manifest.
Browse files Browse the repository at this point in the history
  • Loading branch information
vbence committed Nov 15, 2019
1 parent 63fc8bc commit 921377a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Expand Up @@ -51,6 +51,12 @@ task release(type: Zip) {
destinationDir(file('build'))
}

jar {
manifest {
attributes 'Main-Class': mainClassName
}
}

task printVersion {
doLast {
println project.version
Expand Down

0 comments on commit 921377a

Please sign in to comment.