Should fix jar size
This commit is contained in:
parent
eee410a8f0
commit
0979217d0b
1 changed files with 3 additions and 2 deletions
|
@ -74,7 +74,8 @@ sourceSets {
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
from (configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
from (configurations.shade.collect { it.isDirectory() ? it : zipTree(it) }) {
|
||||||
exclude 'META-INF/*'
|
exclude 'META-INF/*'
|
||||||
exclude 'META-INF'
|
exclude 'META-INF'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue