change manifest, add dependson
This commit is contained in:
parent
61e648df0d
commit
d383d271ac
1 changed files with 5 additions and 1 deletions
|
@ -13,11 +13,15 @@ application {
|
|||
attributes "Main-Class": getMainClass(), "Implementation-Version": project.version
|
||||
}
|
||||
}
|
||||
|
||||
task fatJar(type: Jar) {
|
||||
archiveFileName = 'brouter-' + project.version + '-all.jar'
|
||||
|
||||
manifest.from jar.manifest
|
||||
manifest {
|
||||
attributes "Main-Class": getMainClass(), "Implementation-Version": project.version
|
||||
}
|
||||
classifier = 'all'
|
||||
dependsOn configurations.runtimeClasspath
|
||||
from {
|
||||
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
} {
|
||||
|
|
Loading…
Reference in a new issue