Fix build on gradle 4.7
parent
2ad488f0d8
commit
460dcbacde
|
@ -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/**'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue