-
Notifications
You must be signed in to change notification settings - Fork 65
/
build.sbt
67 lines (64 loc) · 2.21 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import sbt.Resolver
ThisBuild / version := "0.92.1"
Test / parallelExecution := false
lazy val root = (project in file("."))
.settings(
name := "scalismo",
organization := "ch.unibas.cs.gravis",
scalaVersion := "3.3.0",
homepage := Some(url("https://scalismo.org")),
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0")),
scmInfo := Some(
ScmInfo(url("https://github.com/unibas-gravis/scalismo"), "git@github.com:unibas-gravis/scalismo.git")
),
developers := List(
Developer("marcelluethi", "marcelluethi", "marcel.luethi@unibas.ch", url("https://github.com/marcelluethi"))
),
publishMavenStyle := true,
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
),
resolvers ++= Seq(
Resolver.jcenterRepo,
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases")
),
scalacOptions ++= {
Seq(
"-encoding",
"UTF-8",
"-feature",
"-language:implicitConversions",
"-unchecked"
// disabled during the migration
// "-Xfatal-warnings"
)
},
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"),
libraryDependencies ++= Seq(
"org.scalactic" %% "scalactic" % "3.2.16",
"org.scalatest" %% "scalatest" % "3.2.16" % "test",
"org.scalanlp" %% "breeze" % "2.1.0",
"org.scalanlp" %% "breeze-natives" % "2.1.0",
"ch.unibas.cs.gravis" % "scalismo-niftijiojar" % "0.1.0",
"ch.unibas.cs.gravis" %% "scalismo-hdf5-json" % "0.1-RC1",
"ch.unibas.cs.gravis" % "vtkjavanativesall" % "0.2-RC1",
"io.jhdf" % "jhdf" % "0.6.10",
"org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.4",
"org.slf4j" % "slf4j-nop" % "2.0.7" // this silences slf4j complaints in registration classes
)
)
.enablePlugins(GitBranchPrompt)
.enablePlugins(BuildInfoPlugin)
.settings(
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion),
buildInfoPackage := "scalismo"
)
.enablePlugins(GhpagesPlugin)
.settings(
git.remoteRepo := "git@github.com:unibas-gravis/scalismo.git"
)
.enablePlugins(SiteScaladocPlugin)