in src/main/kotlin/io/bazel/kotlin/builder/utils/jars/SourceJarExtractor.kt [38:53]
fun execute() {
destDir.also {
try {
it.toFile().mkdirs()
} catch (ex: Exception) {
throw RuntimeException("could not create unpack directory at $it", ex)
}
}
jarFiles.forEach {
try {
extract(it)
} catch (ex: Throwable) {
throw RuntimeException("error extracting source jar $it", ex)
}
}
}