Should fix jar size

dev/0.11
modmuss50 2018-05-14 12:06:57 +01:00
parent eee410a8f0
commit 0979217d0b
1 changed files with 3 additions and 2 deletions

View File

@ -74,7 +74,8 @@ sourceSets {
}
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'
}