aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-12-04 20:50:53 -0800
committerJakob Odersky <jodersky@gmail.com>2015-12-04 20:50:53 -0800
commit3e90312b3f2d912bf27e91b454a6ef21a81a2fc5 (patch)
treeaf6ad597f45934684f67a2864fbef471fe6851f0 /project
downloadsbt-jni-3e90312b3f2d912bf27e91b454a6ef21a81a2fc5.tar.gz
sbt-jni-3e90312b3f2d912bf27e91b454a6ef21a81a2fc5.tar.bz2
sbt-jni-3e90312b3f2d912bf27e91b454a6ef21a81a2fc5.zip
initial commitv0.1
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala36
-rw-r--r--project/build.properties1
2 files changed, 37 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)
+ )
+
+}
diff --git a/project/build.properties b/project/build.properties
new file mode 100644
index 0000000..817bc38
--- /dev/null
+++ b/project/build.properties
@@ -0,0 +1 @@
+sbt.version=0.13.9