-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
40 lines (28 loc) · 1.2 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
import com.typesafe.config.ConfigFactory
organization := "org.consensusresearch"
val appConf = ConfigFactory.parseFile(new File("src/main/resources/application.conf")).resolve().getConfig("app")
name := "lagonaki"
version := appConf.getString("version")
scalaVersion := "2.11.8"
resolvers += "SonaType" at "https://oss.sonatype.org/content/groups/public"
val modulesVersion = "1.2.8"
libraryDependencies ++= Seq(
"org.consensusresearch" %% "scorex-basics" % modulesVersion,
"org.consensusresearch" %% "scorex-perma" % modulesVersion,
"org.consensusresearch" %% "scorex-transaction" % modulesVersion,
"io.spray" %% "spray-testkit" % "1.+" % "test",
"org.scalatest" %% "scalatest" % "2.+" % "test",
"org.scalactic" %% "scalactic" % "2.+" % "test",
"org.scalacheck" %% "scalacheck" % "1.12.+" % "test",
"net.databinder.dispatch" %% "dispatch-core" % "+" % "test"
)
//assembly settings
assemblyJarName in assembly := "lagonaki.jar"
test in assembly := {}
mainClass in assembly := Some("scorex.lagonaki.Application")
assemblyMergeStrategy in assembly := {
case "application.conf" => MergeStrategy.concat
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}