Merge pull request #355 from afischerdev/test-and11

change manifest, add dependson
This commit is contained in:
afischerdev 2021-10-31 11:14:28 +01:00 committed by GitHub
commit ac15951eeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) }
} {