forked from arc7an/scalaBiomeDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
34 lines (22 loc) · 1.03 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
import sbtassembly.AssemblyPlugin.autoImport._
name := "BioGraph"
version := "1.0"
scalaVersion := "2.11.7"
libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.1.7" % "test"
libraryDependencies += "org.neo4j" % "neo4j" % "2.3.1"
//libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.7"
//libraryDependencies += "com.typesafe.scala-logging" % "scala-logging_2.11" % "3.1.0"
libraryDependencies += "org.apache.logging.log4j" % "log4j-core" % "2.5"
//libraryDependencies += "org.apache.logging.log4j" % "log4j-api" % "2.5"
libraryDependencies += "org.biojava" % "biojava-core" % "4.2.0"
libraryDependencies += "org.biojava" % "sequencing" % "1.9.2"
//sbt-assembly
//assemblySettings
assemblyMergeStrategy in assembly := {
case PathList("neo4j", xs @ _*) => MergeStrategy.last
case PathList("META-INF", "LICENSES.txt") => MergeStrategy.discard
case "log4j2.xml" => MergeStrategy.first
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}