Fix build on gradle 4.7

dev/0.11
modmuss50 2018-05-14 11:56:43 +01:00
parent 2ad488f0d8
commit 460dcbacde
1 changed files with 3 additions and 6 deletions

View File

@ -74,12 +74,9 @@ sourceSets {
} }
jar { jar {
from { from (configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
configurations.shade.each { dep -> exclude 'META-INF/*'
from(project.zipTree(dep)){ exclude 'META-INF'
exclude 'META-INF', 'META-INF/**'
}
}
} }
} }