-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
43 lines (32 loc) · 1.35 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
import AssemblyKeys._
Nice.javaProject
fatArtifactSettings
organization := "bio4j"
name := "neo4jdb"
description := "Neo4jdb implementation of the Bio4j model"
bucketSuffix := "era7.com"
libraryDependencies ++= Seq(
"bio4j" % "bio4j" % "0.11.0",
"org.neo4j" % "neo4j" % "1.9.6",
"com.amazonaws" % "aws-java-sdk" % "1.6.12",
"org.apache.httpcomponents" % "httpclient" % "4.2",
"org.apache.commons" % "commons-math" % "2.2",
"org.jdom" % "jdom" % "2.0.2"
)
dependencyOverrides ++= Set(
"com.fasterxml.jackson.core" % "jackson-core" % "2.1.2",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.1.2",
"commons-beanutils" % "commons-beanutils" % "1.8.3",
"commons-beanutils" % "commons-beanutils-core" % "1.8.3",
"commons-codec" % "commons-codec" % "1.6"
)
// fat jar assembly settings
mainClass in assembly := Some("com.bio4j.neo4jdb.programs.ImportNeo4jDB")
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 PathList("org", "apache", "commons", "collections", _*) => MergeStrategy.first
case x => old(x)
}
}