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