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

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

lazy val core = (project in file("core")).
  settings(libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.6" % "test").
  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)