From 67e2737548bd45a5074b1daa47d589a53d2a4ba0 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 15 Aug 2011 07:34:02 -0700 Subject: [PATCH] Filter the super-source directory from the SBT build. --- build.sbt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 272384d..ae26c3b 100644 --- a/build.sbt +++ b/build.sbt @@ -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