vtm-playground fatJar, fixes #961

This commit is contained in:
Emux 2022-09-22 10:19:19 +03:00
parent efd85ea3d9
commit 76fa6bdfc6
No known key found for this signature in database
GPG Key ID: 64ED9980896038C3
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ android {
lintOptions { abortOnError false }
packagingOptions {
exclude 'META-INF/services/org.jeo.data.Driver'
exclude 'META-INF/services/io.jeo.data.Driver'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}

View File

@ -32,7 +32,7 @@ run {
task fatJar(type: Jar, dependsOn: configurations.runtimeClasspath) {
classifier 'jar-with-dependencies'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
exclude 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.SF'
exclude 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/services/io.jeo.data.Driver'
manifest {
attributes 'Main-Class': "${mainClassName}"
}