Skip to content

Instantly share code, notes, and snippets.

@sguzman
Created November 4, 2017 04:25
Show Gist options
  • Save sguzman/9b782790a771a0c3476bda14cd100c95 to your computer and use it in GitHub Desktop.
Save sguzman/9b782790a771a0c3476bda14cd100c95 to your computer and use it in GitHub Desktop.
A good template for build.sbt
/** Name of project */
name := "LeetCodeScala"
/** Project Version */
version := "1.0"
/** Scala version */
scalaVersion := "2.12.4"
/** Scalac parameters */
scalacOptions ++= Seq("-feature", "-unchecked", "-deprecation", "-encoding", "utf8")
/** Javac parameters */
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
/** Resolver */
resolvers ++= Seq(
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"Search Maven" at "https://repo1.maven.org/maven2/"
)
/** Source Dependencies */
libraryDependencies ++= Seq(
"com.novocode" % "junit-interface" % "0.11" % "test"
)
/** Make sure to fork on run */
fork in run := true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment