vtm-playground fatJar, fixes #961
This commit is contained in:
@@ -58,7 +58,7 @@ android {
|
|||||||
lintOptions { abortOnError false }
|
lintOptions { abortOnError false }
|
||||||
|
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
exclude 'META-INF/services/org.jeo.data.Driver'
|
exclude 'META-INF/services/io.jeo.data.Driver'
|
||||||
exclude 'META-INF/LICENSE'
|
exclude 'META-INF/LICENSE'
|
||||||
exclude 'META-INF/NOTICE'
|
exclude 'META-INF/NOTICE'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ run {
|
|||||||
task fatJar(type: Jar, dependsOn: configurations.runtimeClasspath) {
|
task fatJar(type: Jar, dependsOn: configurations.runtimeClasspath) {
|
||||||
classifier 'jar-with-dependencies'
|
classifier 'jar-with-dependencies'
|
||||||
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
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 {
|
manifest {
|
||||||
attributes 'Main-Class': "${mainClassName}"
|
attributes 'Main-Class': "${mainClassName}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user