Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #162 from bootstraponline/patch-1
Browse files Browse the repository at this point in the history
Remove class path from fatJar
  • Loading branch information
borisf authored Oct 18, 2017
2 parents df2d2c4 + 2ac877f commit d50b81b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ClassySharkWS/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@ jar {
}
}

//create a single Jar with all dependencies
// Create a single Jar with all dependencies
task fatJar(type: Jar) {
manifest {
attributes (
'Main-Class': 'com.google.classyshark.Main',
"Class-Path": configurations.compile.collect { "lib/$it.name" }.join(' ')
)

}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
Expand Down

0 comments on commit d50b81b

Please sign in to comment.