aboutsummaryrefslogtreecommitdiff
path: root/samples/basic/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'samples/basic/build.sbt')
-rw-r--r--samples/basic/build.sbt31
1 files changed, 0 insertions, 31 deletions
diff --git a/samples/basic/build.sbt b/samples/basic/build.sbt
deleted file mode 100644
index 7f5bedd..0000000
--- a/samples/basic/build.sbt
+++ /dev/null
@@ -1,31 +0,0 @@
-val commonSettings = Seq(
- scalaVersion := "2.11.7",
- organization := "ch.jodersky"
-)
-
-lazy val root = Project(
- id = "root",
- base = file("."),
- aggregate = Seq(core, native)
-)
-
-lazy val core = Project(
- id = "basic-core",
- base = file("basic-core"),
- settings = commonSettings ++ Seq(
- target in javah in Compile := (sourceDirectory in native).value / "include"
- ),
- dependencies = Seq(
- native % Runtime
- )
-).enablePlugins(JniLoading)
-
-lazy val native = Project(
- id = "basic-native",
- base = file("basic-native"),
- settings = commonSettings ++ Seq(
- //enableNativeCompilation in Compile := false,
- sourceDirectory in nativeCompile in Compile := sourceDirectory.value,
- nativeLibraryPath in Compile := "/ch/jodersky/jni/basic/native"
- )
-).enablePlugins(JniNative)