aboutsummaryrefslogtreecommitdiff
path: root/flow-native/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'flow-native/build.sbt')
-rw-r--r--flow-native/build.sbt8
1 files changed, 7 insertions, 1 deletions
diff --git a/flow-native/build.sbt b/flow-native/build.sbt
index b175e05..b6b39a0 100644
--- a/flow-native/build.sbt
+++ b/flow-native/build.sbt
@@ -1,3 +1,9 @@
+import flow.{FlowBuild}
+
+FlowBuild.commonSettings
+
enablePlugins(JniNative)
-jniLibraryPath in (Compile, jni) := "com/github/jodersky/flow"
+sourceDirectory in nativeCompile in Compile := sourceDirectory.value
+
+nativeLibraryPath in Compile := "com/github/jodersky/flow"