Created
January 14, 2017 11:46
-
-
Save sguzman/f878c9e7c8978700c8dea29faac6c944 to your computer and use it in GitHub Desktop.
A good starting point for any SBT project. Got it from my Scalebra project.
This file contains hidden or 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
/** Name of project */ | |
name := "Scalebra" | |
/** Project Version */ | |
version := "1.0" | |
/** Scala version */ | |
scalaVersion := "2.11.8" | |
/** 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( | |
"org.lwjgl.lwjgl" % "lwjgl_util" % "2.9.3", | |
"org.slick2d" % "slick2d-core" % "1.0.1", | |
"org.apache.commons" % "commons-lang3" % "3.4", | |
"com.typesafe.akka" % "akka-actor_2.11" % "2.4.4", | |
"org.tinylog" % "tinylog" % "1.1" | |
) | |
/** Make sure to fork on run */ | |
fork in run := true | |
/** Add resources to java library path */ | |
javaOptions in run += "-Djava.library.path=src/main/resources" | |
/** Copy dependencies to file */ | |
retrieveManaged := true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment