-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
39 lines (32 loc) · 1.04 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
inThisBuild(
List(
organization := "io.lktk",
homepage := Some(url("https://lktk.io")),
licenses := List(
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
),
developers := List(
Developer(
"sken",
"sken",
"sken77@pm.me",
url("https://www.github.com/sken77")
)
)
)
)
publishMavenStyle := true
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v")
name := "BLAKE3jni"
version := "0.2.2"
libraryDependencies ++= List(
"com.novocode" % "junit-interface" % "0.11" % "test",
"org.scijava" % "native-lib-loader" % "2.3.4",
"org.slf4j" % "slf4j-nop" % "1.7.30"
)
Compile / unmanagedResourceDirectories += baseDirectory.value / "natives"
//ignore everything related to scala
Compile / unmanagedSourceDirectories := (Compile / javaSource).value :: Nil
Test / unmanagedSourceDirectories := (Test / javaSource).value :: Nil
autoScalaLibrary := false // exclude scala-library from dependencies
crossPaths := false // drop off Scala suffix from artifact names.