Files
2013-02-12 14:25:37 -08:00

22 lines
761 B
Scala

seq(samskivert.POMUtil.pomToSettings("pom.xml") :_*)
crossPaths := false
scalaVersion := "2.10.0"
autoScalaLibrary in Compile := false // no scala-library dependency
javacOptions ++= Seq("-Xlint", "-Xlint:-serial", "-source", "1.6", "-target", "1.6")
// filter the super-source directory from the build
unmanagedSources in Compile ~= (_.filterNot(_.getPath.indexOf("pythagoras/gwt") != -1))
// include source in our jar for GWT
unmanagedResourceDirectories in Compile <+= baseDirectory / "src/main/java"
// disable doc publishing, TODO: reenable when scaladoc doesn't choke on our code
publishArtifact in (Compile, packageDoc) := false
// allows SBT to run junit tests
libraryDependencies += "com.novocode" % "junit-interface" % "0.7" % "test->default"