A asar implementation in java without runtime dependency.
IMPORTANT: THIS LIBRARY IS EXPERIMENTAL. I MAY BREAK APIS IN THE FEATURE.
This library was separated to four jars to keep small library.
commonThe library contains Entry class. All those libraries depending on this library.fileThe library containsjava.util.zip.ZipFile-like file reader.writerThe library containsjava.util.zip.ZipOutputStream-like file writer.urlThe library contains implementation ofasar:url protocol likejar:but allows asar-in-asar or asar-in-jar.
This library has been published on maven central repository. To add a dependency on asar4j using Maven, use the following:
<dependency>
<groupId>com.anatawa12.asar4j</groupId>
<artifactId>[choose from file, writer or url]</artifactId>
<version>[version]</version>
</dependency>To add a dependency using Gradle:
dependencies {
implementation("com.anatawa12.asar4j:<library-name>:<version>")
}