-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
53 lines (47 loc) · 1.37 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// stensorflow build
val scala3 = "3.3.5"
val versionsNative = Seq(scala3)
ThisBuild / scalaVersion := scala3
ThisBuild / crossScalaVersions := versionsNative
ThisBuild / versionScheme := Some("early-semver")
inThisBuild(
List(
description := "TensorFlow Interface for Scala Native",
organization := "org.ekrich",
homepage := Some(url("https://github.com/ekrich/stensorflow")),
licenses := List(
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
),
developers := List(
Developer(
id = "ekrich",
name = "Eric K Richardson",
email = "[email protected]",
url = url("http://github.ekrich.org/")
)
)
)
)
lazy val commonSettings = Seq(
testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-s", "-v"),
logLevel := Level.Info // Info, Debug
)
lazy val root = project
.in(file("."))
.settings(
name := "stensorflow-root",
crossScalaVersions := Nil,
publish / skip := true,
doc / aggregate := false,
doc := (stensorflow / Compile / doc).value,
packageDoc / aggregate := false,
packageDoc := (stensorflow / Compile / packageDoc).value
)
.aggregate(stensorflow)
lazy val stensorflow = project
.in(file("stensorflow"))
.settings(
crossScalaVersions := versionsNative,
commonSettings
)
.enablePlugins(ScalaNativePlugin, ScalaNativeJUnitPlugin)