diff options
author | Jakob Odersky <jodersky@gmail.com> | 2015-12-04 20:50:53 -0800 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2015-12-04 20:50:53 -0800 |
commit | 3e90312b3f2d912bf27e91b454a6ef21a81a2fc5 (patch) | |
tree | af6ad597f45934684f67a2864fbef471fe6851f0 /project/Build.scala | |
download | sbt-jni-3e90312b3f2d912bf27e91b454a6ef21a81a2fc5.tar.gz sbt-jni-3e90312b3f2d912bf27e91b454a6ef21a81a2fc5.tar.bz2 sbt-jni-3e90312b3f2d912bf27e91b454a6ef21a81a2fc5.zip |
initial commitv0.1
Diffstat (limited to 'project/Build.scala')
-rw-r--r-- | project/Build.scala | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/project/Build.scala b/project/Build.scala new file mode 100644 index 0000000..e1551a4 --- /dev/null +++ b/project/Build.scala @@ -0,0 +1,36 @@ +import sbt._ +import sbt.Keys._ + +object NativeUtilsBuild extends Build { + + val commonSettings = Seq( + version := "0.1-SNAPSHOT", + organization := "ch.jodersky", + scalacOptions ++= Seq("-deprecation", "-feature") + ) + + lazy val root = Project( + id = "root", + base = file("."), + aggregate = Seq( + library, plugin + ), + settings = Seq( + publish := {} + ) + ) + + lazy val library = Project( + id = "jni-library", + base = file("jni-library"), + settings = commonSettings + ) + + lazy val plugin = Project( + id = "sbt-jni", + base = file("jni-plugin"), + settings = commonSettings ++ Seq(sbtPlugin := true), + dependencies = Seq(library) + ) + +} |