forked from unibas-gravis/scalismo-faces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
25 lines (19 loc) · 813 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
organization := "ch.unibas.cs.gravis"
name := """scalismo-faces"""
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
scalaVersion := "2.12.1"
crossScalaVersions := Seq("2.12.1", "2.11.8")
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 11)) => Seq("-deprecation", "-unchecked", "-feature")
case _ => Seq("-deprecation", "-unchecked", "-feature", "-opt:l:method")
})
resolvers += Resolver.jcenterRepo
libraryDependencies ++= Seq(
"ch.unibas.cs.gravis" %% "scalismo" % "0.15.2",
"ch.unibas.cs.gravis" % "scalismo-native-all" % "4.0.0",
"org.scalatest" %% "scalatest" % "3.0.0" % "test"
)
// Git versioning
enablePlugins(GitVersioning, GitBranchPrompt)
com.typesafe.sbt.SbtGit.useJGit
git.baseVersion := "develop"