blob: 8cd14196a9a0609909c81d11449163a091667949 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
|