Filter the super-source directory from the SBT build.

This commit is contained in:
Michael Bayne
2011-08-15 07:34:02 -07:00
parent 047bc49c31
commit 67e2737548
+4 -1
View File
@@ -15,7 +15,10 @@ libraryDependencies ++= Seq(
"com.novocode" % "junit-interface" % "0.7" % "test->default"
)
// add our sources to the main jar file
// 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"
// work around SBT bug