-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
31 lines (24 loc) · 948 Bytes
/
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
ThisBuild / scalaVersion := "2.12.14"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.keithalcock"
ThisBuild / organizationName := "Keith Alcock"
ThisBuild / Test / fork := true // This doesn't seem to work.
name := "torchscript"
lazy val library = project
lazy val root = (project in file("."))
.dependsOn(library)
.enablePlugins(JavaAppPackaging)
lazy val demo = project
.dependsOn(library)
libraryDependencies ++= {
Seq(
// This one requires the next.
// "org.pytorch" % "pytorch_java_only" % "1.9.0",
// The next one can't be found. Use jars in lib directory.
// "com.facebook.fbjni" % "fbjni-java-only" % "0.0.3",
// And this is a transitive dependency
// "com.facebook.soloader" % "nativeloader" % "0.8.0",
"com.microsoft.onnxruntime" % "onnxruntime" % "1.8.1",
"org.scalatest" %% "scalatest" % "3.2.8" % Test
)
}