Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ public open class ShadowCopyAction internal constructor(
processTransformers(outputStream)
}
} catch (e: IOException) {
throw Zip64RequiredException(
"${e.cause?.message}\n\nTo build this archive, please enable the zip64 extension.\n" +
"See: ${documentationRegistry.getDslRefForProperty(Zip::class.java, "zip64")}",
)
if (e.cause is Zip64RequiredException) {
throw Zip64RequiredException(
"${e.cause?.message}\n\nTo build this archive, please enable the zip64 extension.\n" +
"See: ${documentationRegistry.getDslRefForProperty(Zip::class.java, "zip64")}",
)
}
}
return WorkResults.didWork(true)
}
Expand Down
Loading