From 3e90312b3f2d912bf27e91b454a6ef21a81a2fc5 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Fri, 4 Dec 2015 20:50:53 -0800 Subject: initial commit --- examples/demo/build.sbt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/demo/build.sbt (limited to 'examples/demo/build.sbt') 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" -- cgit v1.2.3