Files
jmustache/build.sbt
T
Michael Bayne 407d999836 Further work on making JMustache work in GWT.
I've ironed out most of the kinks, but the GWT unit test still fails because
we're forced to do some sneaky things with java.io.Reader/Writer. I think it
will all work when compiled to JavaScript, so I need to check it in a real
project.
2011-10-29 15:31:27 -07:00

25 lines
671 B
Scala

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/gwt") != -1))
// add our sources to the main jar file (including super-sources)
unmanagedResourceDirectories in Compile <+= baseDirectory / "src/main/java"