aboutsummaryrefslogtreecommitdiff
path: root/examples/demo/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/build.sbt')
-rw-r--r--examples/demo/build.sbt16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/demo/build.sbt b/examples/demo/build.sbt
new file mode 100644
index 0000000..8cd1419
--- /dev/null
+++ b/examples/demo/build.sbt
@@ -0,0 +1,16 @@
+enablePlugins(JniPlugin)
+
+name := "jni-demo"
+
+organization := "org.example"
+
+baseDirectory in jni := (baseDirectory in ThisBuild).value / "native"
+
+javahObjects in javah += "org.example.jni.demo.Library"
+
+libraryDependencies += "ch.jodersky" %% "jni-library" % "0.1-SNAPSHOT"
+
+//exportJars in run := true
+
+//librearDependencies += "org.example" %% "demo" % "0.1"
+//librearDependencies += "org.example" % "demo" % "0.1" % "runtime" classifier "native"