timt / sbt-dist-zip   10

GitHub

Very simple sbt plugin that creates a distributable zip containing the project main artifacts and scripts

sbt-dist-zip Build Status Download

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

Requirements

Installation

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

Code license

Apache License 2.0