Skip to content

Instantly share code, notes, and snippets.

@waman
Created October 9, 2013 15:48
Show Gist options
  • Save waman/6903379 to your computer and use it in GitHub Desktop.
Save waman/6903379 to your computer and use it in GitHub Desktop.
build.sbt (sbt build file)
name := "sbt-sample"
version := "0.1"
organization := "org.sample"
scalaVersion := "2.9.2"
//libraryDependencies += "org.apache.commons" % "commons-math3" % "3.0"
libraryDependencies ++= Seq(
"org.apache.commons" % "commons-math3" % "3.0",
"org.scala-lang" % "scala-swing" % "2.9.2",
"junit" % "junit" % "4.10" % "test"
)
javacOptions ++= Seq("-source", "1.7", "-target", "1.7", "-encoding", "UTF-8")
scalacOptions ++= Seq("-deprecation", "-encoding", "UTF-8")
fork := true
initialCommands in console := """println("***** Console Start! *****")"""
//initialCommands in console := "import org.sample._"
mainClass in Compile := Some("org.sample.Main")
//mainClass in (Compile, packageBin) := Some("org.sample.Main")
//mainClass in (Compile, run) := Some("org.sample.Main")
crossPaths := false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment