Files
pythagoras/build.sbt
T
2011-10-17 11:15:43 -07:00

25 lines
668 B
Scala

name := "pythagoras"
version := "1.2-SNAPSHOT"
organization := "com.samskivert"
crossPaths := false
javacOptions ++= Seq(
"-Xlint", "-Xlint:-serial", "-source", "1.6", "-target", "1.6"
)
autoScalaLibrary := false // no scala-library dependency
libraryDependencies ++= Seq(
"junit" % "junit" % "4.+" % "test",
"com.novocode" % "junit-interface" % "0.7" % "test->default"
)
// filter the super-source directory from the build
unmanagedSources in Compile ~= (_.filterNot(_.getPath.indexOf("pythagoras/gwt") != -1))
// add our sources to the main jar file (including super-sources)
unmanagedResourceDirectories in Compile <+= baseDirectory / "src/main/java"