-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
35 lines (24 loc) · 1016 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
34
35
import sbt.Resolver
organization := "ch.unibas.cs.gravis"
name := "template-registration-with-scala"
version := "0.1"
scalaVersion := "2.12.8"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
resolvers ++= Seq(
Resolver.bintrayRepo("unibas-gravis", "maven"),
Resolver.bintrayRepo("cibotech", "public"),
Opts.resolver.sonatypeSnapshots
)
libraryDependencies ++= Seq(
"ch.unibas.cs.gravis" % "scalismo-native-all" % "4.0.+",
"ch.unibas.cs.gravis" %% "scalismo-ui" % "0.90-RC2",
"com.cibo" %% "evilplot" % "0.6.3"
)
assemblyJarName in assembly := "scala-fun.jar"
mainClass in assembly := Some("example.ExampleApp")
assemblyMergeStrategy in assembly := {
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
}