From 3e90312b3f2d912bf27e91b454a6ef21a81a2fc5 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Fri, 4 Dec 2015 20:50:53 -0800 Subject: initial commit --- project/Build.scala | 36 ++++++++++++++++++++++++++++++++++++ project/build.properties | 1 + 2 files changed, 37 insertions(+) create mode 100644 project/Build.scala create mode 100644 project/build.properties (limited to 'project') 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 -- cgit v1.2.3