-
Notifications
You must be signed in to change notification settings - Fork 157
/
Copy pathbuild.sbt
42 lines (33 loc) · 1.48 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
// Name of the project
name := "flandmark-demo"
// Project version
version := "1.5.8"
// Version of Scala used by the project
scalaVersion := "3.3.4"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-optimize", "-Xlint")
// Some dependencies like `javacpp` are packaged with maven-plugin packaging
classpathTypes += "maven-plugin"
// Platform classifier for native library dependencies
lazy val platform = org.bytedeco.javacpp.Loader.Detector.getPlatform
// @formatter:off
libraryDependencies ++= Seq(
"org.bytedeco" % "javacpp" % "1.5.11" classifier platform,
"org.bytedeco" % "javacv" % "1.5.11",
"org.bytedeco" % "flandmark" % "1.07-1.5.8" classifier "",
"org.bytedeco" % "flandmark" % "1.07-1.5.8" classifier platform,
"org.bytedeco" % "openblas" % "0.3.28-1.5.11" classifier "",
"org.bytedeco" % "openblas" % "0.3.28-1.5.11" classifier platform,
"org.bytedeco" % "opencv" % "4.10.0-1.5.11" classifier "",
"org.bytedeco" % "opencv" % "4.10.0-1.5.11" classifier platform
)
// @formatter:on
// Used for testing local builds and snapshots of JavaCPP/JavaCV
//resolvers ++= Seq(
// Resolver.sonatypeRepo("snapshots"),
// // Use local maven repo for local javacv builds
// "Local Maven Repository" at "file:///" + Path.userHome.absolutePath + "/.m2/repository"
//)
// set the main class for 'sbt run'
Compile / run / mainClass := Some("flandmark.Example1")
// Fork a new JVM for 'run' and 'test:run', to avoid JavaFX double initialization problems
fork := true