Dico
10/31/2019, 4:03 PMzipTree
on a jar file from compile dependencies causes pathnames that exceed the windows MAX_PATH limit of 260 characters. On my local machine it is fine, but my gradle CI machine has the project cloned on a slightly longer root path.
I'm using it for proguard tasks a bit like this -
val (obfuscatedClassFiles, exemptedClassFiles) = obfuscationIncludedJars
.fold(files().asFileTree) { acc, jar -> acc + zipTree(jar) }
.let { Pair(it.matching { exclude(*programClassesThatSkipProguard) }, it.matching { include(*programClassesThatSkipProguard) }) }
bjonnh
11/05/2019, 12:17 AMDico
11/05/2019, 10:41 AMbjonnh
11/29/2019, 9:22 PM