Remove problem files from META-INF
@@ -266,6 +266,9 @@ fun CopySpec.isolateClasses(jars: Iterable<File>) {
rename("(^.*)\\.class\$", "\$1.classdata")
// Rename LICENSE file since it clashes with license dir on non-case sensitive FSs (i.e. Mac)
rename("""^LICENSE$""", "LICENSE.renamed")
+ exclude("META-INF/INDEX.LIST")
+ exclude("META-INF/*.DSA")
+ exclude("META-INF/*.SF")
}
}
}
