Skip to content

Instantly share code, notes, and snippets.

@samuelorji
Created December 18, 2019 10:55
Show Gist options
  • Save samuelorji/5c77e97f908ee9a624938e19b8a7a11b to your computer and use it in GitHub Desktop.
Save samuelorji/5c77e97f908ee9a624938e19b8a7a11b to your computer and use it in GitHub Desktop.
build.sbt with java options
name := "phony"
version := "0.2"
scalaVersion := "2.12.6"
organization := "com.phony"
libraryDependencies += "com.googlecode.libphonenumber" % "libphonenumber" % "8.10.23"
scalacOptions := Seq( // commands passed to the scala compiler
"-feature",
"-unchecked",
"-deprecation",
"-encoding", "utf8",
"-language:postfixOps",
"-target:jvm-1.7",
"-Xlint",
"-Yclosure-elim",
"-Yinline"
)
javaOptions in Universal ++= Seq( // commands passed to the JVM
"-Dcom.sun.management.jmxremote",
"-Xms256m",
"-Xmx2048m"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment