Last active
August 29, 2015 14:23
-
-
Save danyaljj/2b4f1c5b3b3d41d3c1b6 to your computer and use it in GitHub Desktop.
General notes on SBT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SBT | |
============== | |
* Default body: | |
name := "projecta" | |
version := "0.1.0-SNAPSHOT" | |
organization := "com.github.myname" | |
scalaVersion := "2.10.3" | |
* create package and put it in 'target': (not independant of other packages) | |
sbt package | |
* create package and put it in the ~/.ivy: | |
sbt publish-local | |
* independant package with all dependencies included: | |
Install the sbt-assembly plugin https://github.com/sbt/sbt-assembly/ | |
and | |
sbt assembly | |
* Java options: | |
javaOptions += "-Xmx1G", | |
* Resolvers | |
resolvers += Resolver.mavenLocal | |
* Adding local 'lib' folder into dependencies | |
javaOptions ++= Seq("-Djava.library.path=lib") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment