A copy of ZipInputStream
from OpenJDK (11?), with CRC32 calculations disabled. See
VirtusLab/scala-cli#865
and linked issues for context.
Add the following dependency to your build:
ivy"io.github.alexarchambault.scala-cli.tmp:zip-input-stream:0.1.0"
Then use io.github.scala_cli.zip.ZipInputStream
instead of java.util.zip.ZipInputStream
.
no-crc32-zip-input-stream is built with Scala CLI. As of writing this, it requires some Scala CLI changes that are not merged upstream yet. So the Scala CLI launchers are manually pushed here, and downloaded from there by the ./scala-cli
script at the root of this repository.