-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·46 lines (38 loc) · 1.4 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
import com.typesafe.config.ConfigFactory
import sbt.Keys._
val appConf = ConfigFactory.parseFile(new File("src/main/resources/reference.conf")).resolve().getConfig("app")
inThisBuild(Seq(
organization in ThisBuild := "com.wavesplatform",
name := "waves-masspay",
version := appConf.getString("version"),
scalaVersion := "2.12.1"
))
scalacOptions ++= Seq("-feature", "-deprecation", "-Xmax-classfile-name", "128")
resolvers ++= Seq(
"Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/",
"SonaType" at "https://oss.sonatype.org/content/groups/public",
"Typesafe maven releases" at "http://repo.typesafe.com/typesafe/maven-releases/")
libraryDependencies ++=
Dependencies.db ++
Dependencies.http ++
Dependencies.akka ++
Dependencies.serialization ++
Dependencies.testKit ++
Dependencies.logging ++
Dependencies.matcher ++
Dependencies.p2p ++
Seq(
"com.iheart" %% "ficus" % "1.4.0",
"org.scorexfoundation" %% "scrypto" % "1.2.0",
"commons-net" % "commons-net" % "3.+",
"com.github.pathikrit" %% "better-files" % "2.17.+",
"org.typelevel" %% "cats" % "0.9.0"
)
inConfig(Test)(Seq(
javaOptions += "-Dlogback.configurationFile=logback-sbt.xml",
fork := true,
parallelExecution := false,
testOptions += Tests.Argument("-oIDOF", "-u", "target/test-reports")
))
concurrentRestrictions in Global += Tags.limit(Tags.Test, 1)
test in assembly := {}