-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
35 lines (23 loc) · 1.25 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
organization := "com.github.workingDog"
name := "stixtoneodb"
version := (version in ThisBuild).value
scalaVersion := "2.13.3"
libraryDependencies ++= Seq("com.github.workingDog" %% "stixtoneolib" % "0.6")
test in assembly := {}
assemblyMergeStrategy in assembly := {
case "module-info.class" => MergeStrategy.discard
case "META-INF/versions/9/module-info.class" => MergeStrategy.discard
case PathList(xs @_*) if xs.last.toLowerCase endsWith ".rsa" => MergeStrategy.discard
case PathList(xs@_*) if xs.last.toLowerCase endsWith ".dsa" => MergeStrategy.discard
case PathList(xs@_*) if xs.last.toLowerCase endsWith ".sf" => MergeStrategy.discard
case PathList(xs@_*) if xs.last.toLowerCase endsWith ".des" => MergeStrategy.discard
case PathList(xs@_*) if xs.last endsWith "LICENSES.txt" => MergeStrategy.discard
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}
homepage := Some(url("https://github.com/workingDog/StixToNeoDB"))
licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
mainClass in(Compile, run) := Some("com.kodekutters.StixToNeoDB")
mainClass in assembly := Some("com.kodekutters.StixToNeoDB")
assemblyJarName in assembly := "stixtoneodb-" + version.value + ".jar"