-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
47 lines (35 loc) · 1.49 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
import AssemblyKeys._
Nice.javaProject
javaVersion := "1.8"
fatArtifactSettings
organization := "bio4j"
name := "bio4j-graphical-tools"
description := "bio4j-graphical-tools project"
bucketSuffix := "era7.com"
libraryDependencies ++= Seq(
"bio4j" % "bio4j-titan" % "0.4.0-SNAPSHOT",
"com.google.code.gson" % "gson" % "2.2.4",
// test deps
"junit" % "junit" % "3.8.1" % "test",
"org.scalatest" %% "scalatest" % "2.2.2" % "test"
)
dependencyOverrides ++= Set(
"commons-codec" % "commons-codec" % "1.7",
"com.fasterxml.jackson.core" % "jackson-core" % "2.1.2",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.1.2",
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.1.1",
"commons-beanutils" % "commons-beanutils" % "1.8.3",
"commons-beanutils" % "commons-beanutils-core" % "1.8.3",
"com.tinkerpop.blueprints" % "blueprints-core" % "2.5.0"
)
// fat jar assembly settings
mainClass in assembly := Some("com.bio4j.dataviz.GenerateDataViz")
assemblyOption in assembly ~= { _.copy(includeScala = false) }
mergeStrategy in assembly ~= { old => {
case PathList("META-INF", "CHANGES.txt") => MergeStrategy.rename
case PathList("META-INF", "LICENSES.txt") => MergeStrategy.rename
case "log4j.properties" => MergeStrategy.filterDistinctLines
case PathList("org", "apache", "commons", "collections", _*) => MergeStrategy.first
case x => old(x)
}
}