From 0a27e6ce4dcaaa505e60f9c81e631e16b5d9ff1a Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 13 Oct 2011 20:49:47 -0700 Subject: [PATCH] Added an SBT build so that I can deploy to Ivy. --- build.sbt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 build.sbt diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..65845ba --- /dev/null +++ b/build.sbt @@ -0,0 +1,24 @@ +name := "jmustache" + +version := "1.5-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("com/samskivert/mustache/gwt") != -1)) + +// add our sources to the main jar file (including super-sources) +unmanagedResourceDirectories in Compile <+= baseDirectory / "src/main/java"