-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (39 loc) · 1.58 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
48
49
50
import sbt.Keys._
enablePlugins(JavaAppPackaging)
enablePlugins(BuildInfoPlugin)
name := "cekic"
version := "0.1"
scalaVersion := "2.12.7"
resolvers ++= Seq(
Resolver.sonatypeRepo("releases")
)
///////////////////////////////////
////////// Dependencies ///////////
///////////////////////////////////
val log4jV = "1.2.17"
val clV = "1.2"
val jdomV = "2.0.2"
val jgraphV = "5.13.0.0"
val itextpdfV = "2.1.7"
val commonsLang3V = "3.8.1"
libraryDependencies ++= Seq(
"org.json4s" %% "json4s-jackson" % "3.6.2",
"org.json4s" %% "json4s-core" % "3.6.2",
"org.json4s" %% "json4s-xml" % "3.6.2",
"com.github.scopt" %% "scopt" % "3.7.0",
"com.github.melrief" %% "purecsv" % "0.1.1",
"log4j" % "log4j" % log4jV,
"commons-logging" % "commons-logging" % clV,
"org.jdom" % "jdom" % jdomV,
"jgraph" % "jgraph" % jgraphV,
"com.lowagie" % "itext" % itextpdfV,
"org.apache.commons" % "commons-lang3" % commonsLang3V
)
buildInfoKeys := Seq[BuildInfoKey](name, version)
mainClass in (Compile, run) := Some("com.vertexclique.cekic.Main")
mainClass in (Compile, packageBin) := Some("com.vertexclique.cekic.Main")
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case "reference.conf" => MergeStrategy.concat
case _ => MergeStrategy.first
}