forked from unibas-gravis/scalismo-seed.g8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (22 loc) · 1021 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
32
33
organization := "ch.unibas.cs.gravis"
name := """minimal-scalismo-seed"""
version := "0.6"
scalaVersion := "2.12.6"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
resolvers += Resolver.bintrayRepo("unibas-gravis", "maven")
resolvers += Opts.resolver.sonatypeSnapshots
dependencyOverrides += "ch.unibas.cs.gravis" %% "scalismo" % "0.17.1"
libraryDependencies ++= Seq(
"ch.unibas.cs.gravis" % "scalismo-native-all" % "4.0.+",
"ch.unibas.cs.gravis" %% "scalismo-ui" % "0.13.0"
)
assemblyJarName in assembly := "executable.jar"
mainClass in assembly := Some("com.example.ExampleApp")
assemblyMergeStrategy in assembly <<= (assemblyMergeStrategy in assembly) { (old) =>
{
case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
case PathList("META-INF", s) if s.endsWith(".SF") || s.endsWith(".DSA") || s.endsWith(".RSA") => MergeStrategy.discard
case "reference.conf" => MergeStrategy.concat
case _ => MergeStrategy.first
}
}