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 {
from {
configurations.shade.each { dep ->
from(project.zipTree(dep)){
exclude 'META-INF', 'META-INF/**'
}
}
from (configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude 'META-INF/*'
exclude 'META-INF'
}
}