forked from unibas-gravis/scalismo-faces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
53 lines (52 loc) · 1.7 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
val scalismoPlatform = {
val env = System.getenv("SCALISMO_PLATFORM")
if (env != null) env else "all"
}
lazy val root = (project in file("."))
.settings(
name := """scalismo-faces""",
organization := "ch.unibas.cs.gravis",
homepage := Some(url("https://github.com/unibas-gravis/scalismo-faces")),
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0")),
scmInfo := Some(
ScmInfo(url("https://github.com/unibas-gravis/scalismo-faces"), "[email protected]:unibas-gravis/scalismo-faces.git")
),
developers := List(
Developer(
id = "Scalismo-Faces",
name = "Scalismo-Faces Community",
email = "[email protected]",
url = url("https://github.com/unibas-gravis/scalismo-faces/")
)
),
resolvers ++= Seq(
Resolver.jcenterRepo,
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
),
publishMavenStyle := true,
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
),
scalaVersion := "3.2.2",
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature"), // "-opt:l:method",
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"),
libraryDependencies ++= Seq(
"ch.unibas.cs.gravis" %% "scalismo" % "0.92-RC1",
"org.scalatest" %% "scalatest" % "3.2.15" % Test
)
)
.enablePlugins(BuildInfoPlugin)
.settings(
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion),
buildInfoPackage := "scalismo.faces"
)
.enablePlugins(GitVersioning)
.settings(
git.baseVersion := "develop",
useJGit
)
.enablePlugins(GitBranchPrompt)