aboutsummaryrefslogtreecommitdiff
path: root/plugin/src/sbt-test/sbt-jni/simple/build.sbt
blob: e324d5ae849d0197dd1df2d65b8b106a2720ae2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
ivyLoggingLevel := UpdateLogging.Quiet

lazy val root = (project in file(".")).
  aggregate(core, native)

lazy val core = (project in file("core")).
  settings(target in javah := (sourceDirectory in nativeCompile in native).value / "include").
  dependsOn(native % Runtime)

lazy val native = (project in file("native")).
  settings(sourceDirectory in nativeCompile := sourceDirectory.value).
  enablePlugins(JniNative)