This SBuild Plugin provides an Unzip Scheme Handler for SBuild.
The SBuild Unzip Plugin can be downloaded from Maven Central.
To include it in your SBuild build file use the @classpath
annotation:
@classpath("mvn:org.sbuild:org.sbuild.plugins.unzip:0.0.9000")
If you want to build this plugin from source, you need at least SBuild 0.7.4.9000.
git clone https://github.com/SBuild-org/sbuild-unzip-plugin.git cd sbuild-sbuild-plugin/org.sbuild.plugins.unzip sbuild jar
You will find the built jar in the directory org.sbuild.plugins.unzip/target
.
All configurable properties are documented via ScalaDoc. See file Unzip.scala
.
In it’s default configuration, this plugin will register a zip
scheme, which will transparently expand resources .sbuild/zip
.
Named plugin instances will register a scheme identical to the plugin instance name.