A really simple sbt plugin that creates a distributable zip file containing the main project artifact and any files that are in src/main/dist
- sbt 0.13.6+
Add the following lines to your projects.sbt
//autoplugin
addSbtPlugin("io.shaka" % "sbt-dist-zip" % "10")
Usage
sbt distZip
This will create the file target/[projectName].zip containing the main project artifact and and files in src/main/dist
Setting to specify an alternative src folder for scripts distZipScripts := "main/scripts"
Setting to specify an alternative artifact file (task dependency) distZipArtifactFile := sbtassembly.AssemblyKeys.assembly.value
Apache License 2.0