{"repo":"xerial/sbt-pack","free":true,"listed":false,"github":"https://github.com/xerial/sbt-pack","clone":"git clone https://github.com/xerial/sbt-pack.git","description":"A sbt plugin for creating distributable Scala packages.","language":"Scala","stars":503,"topics":["sbt-plugin","scala","docker","makefile"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"sbt-pack plugin ======== A sbt plugin for creating distributable Scala packages that include dependent jars and launch scripts. Features - sbt pack creates a distributable package in target/pack folder. - All dependent jars including scala-library.jar are collected in target/pack/lib folder. This process is much faster than creating a single-jar as in sbt-assembly or proguard plugins. - Supporting multi-module projects. - Useful for creating runnable Docker images of Scala programs - sbt packArchive generates tar.gz archive that is ready to distribute. - The archive name is target/{project name}-{version}.tar.gz - sbt pack generates program launch scripts target/pack/bin/{program name} - To run the program no need exists to install Scala, since it is included in the lib folder. Only java command needs to be found in the system. - It also generates .bat launch scripts for Windows users. - Generates a Makefile for program installation. - Do cd target/pack; make install . Then you can run your program with /local/bin/{program name} - You can install multiple versions of your program in the system. - The above Makefile script uses a separate folder for each version (e.g., /local/{project name}/{project version} ). - The latest version is linked from /local/{project name}/current - You can add other resources in src/pack folder. - All resources in this folder will be copied to target/pack . - Check duplicated classes in dependencies. Release Notes Usage Add sbt-pack plugin to your","default_branch":null,"files":null,"tree":[],"storefront":"/r/xerial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xerial/sbt-pack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}