2018-04-17 16:21:20 +02:00
|
|
|
import sbt._
|
|
|
|
|
|
|
|
object Deps {
|
2018-05-02 20:13:42 +02:00
|
|
|
object V {
|
|
|
|
val bouncyCastle = "1.55"
|
|
|
|
val logback = "1.0.13"
|
2018-10-26 16:06:49 +02:00
|
|
|
val scalacheck = "1.14.0"
|
2018-05-02 20:13:42 +02:00
|
|
|
val scalaTest = "3.0.5"
|
|
|
|
val slf4j = "1.7.5"
|
|
|
|
val spray = "1.3.2"
|
|
|
|
val zeromq = "0.4.3"
|
2018-10-26 16:06:49 +02:00
|
|
|
val akkav = "10.1.5"
|
|
|
|
val akkaStreamv = "2.5.17"
|
|
|
|
val playv = "2.6.10"
|
|
|
|
val scodecV = "1.1.6"
|
2018-11-19 00:32:20 +01:00
|
|
|
val junitV = "0.11"
|
2018-05-02 20:13:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
object Compile {
|
2018-11-11 23:22:22 +01:00
|
|
|
val bouncycastle = "org.bouncycastle" % "bcprov-jdk15on" % V.bouncyCastle withSources() withJavadoc()
|
|
|
|
val scodec = "org.scodec" %% "scodec-bits" % V.scodecV withSources() withJavadoc()
|
|
|
|
val slf4j = "org.slf4j" % "slf4j-api" % V.slf4j % "provided" withSources() withJavadoc()
|
|
|
|
val zeromq = "org.zeromq" % "jeromq" % V.zeromq withSources() withJavadoc()
|
|
|
|
val akkaHttp = "com.typesafe.akka" %% "akka-http" % V.akkav withSources() withJavadoc()
|
|
|
|
val akkaStream = "com.typesafe.akka" %% "akka-stream" % V.akkaStreamv withSources() withJavadoc()
|
|
|
|
val playJson = "com.typesafe.play" %% "play-json" % V.playv withSources() withJavadoc()
|
2018-11-21 21:01:03 +01:00
|
|
|
|
|
|
|
val logback = "ch.qos.logback" % "logback-classic" % V.logback withSources() withJavadoc()
|
2018-05-02 20:13:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
object Test {
|
|
|
|
val bitcoinj = ("org.bitcoinj" % "bitcoinj-core" % "0.14.4" % "test").exclude("org.slf4j", "slf4j-api")
|
2018-11-19 00:32:20 +01:00
|
|
|
val junitInterface = "com.novocode" % "junit-interface" % V.junitV % "test" withSources() withJavadoc()
|
2018-11-11 23:22:22 +01:00
|
|
|
val logback = "ch.qos.logback" % "logback-classic" % V.logback % "test" withSources() withJavadoc()
|
2018-05-02 20:13:42 +02:00
|
|
|
val scalacheck = "org.scalacheck" %% "scalacheck" % V.scalacheck % "test" withSources() withJavadoc()
|
2018-11-11 23:22:22 +01:00
|
|
|
val scalaTest = "org.scalatest" %% "scalatest" % V.scalaTest % "test" withSources() withJavadoc()
|
|
|
|
val spray = "io.spray" %% "spray-json" % V.spray % "test" withSources() withJavadoc()
|
|
|
|
val akkaHttp = "com.typesafe.akka" %% "akka-http-testkit" % V.akkav % "test" withSources() withJavadoc()
|
|
|
|
val akkaStream = "com.typesafe.akka" %% "akka-stream-testkit" % V.akkaStreamv % "test" withSources() withJavadoc()
|
2018-05-02 20:13:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
val core = List(
|
|
|
|
Compile.bouncycastle,
|
2018-05-23 01:39:58 +02:00
|
|
|
Compile.scodec,
|
2018-05-02 20:13:42 +02:00
|
|
|
Compile.slf4j
|
|
|
|
)
|
|
|
|
|
|
|
|
val coreGen = List(
|
|
|
|
Compile.slf4j,
|
|
|
|
Test.scalacheck
|
|
|
|
)
|
|
|
|
|
|
|
|
val coreTest = List(
|
|
|
|
Test.bitcoinj,
|
|
|
|
Test.junitInterface,
|
|
|
|
Test.logback,
|
|
|
|
Test.scalaTest,
|
|
|
|
Test.spray
|
|
|
|
)
|
|
|
|
|
|
|
|
val zmq = List(
|
|
|
|
Compile.zeromq,
|
|
|
|
Compile.slf4j,
|
|
|
|
Test.logback,
|
|
|
|
Test.scalacheck,
|
|
|
|
Test.scalaTest
|
|
|
|
)
|
2018-05-24 20:43:27 +02:00
|
|
|
|
|
|
|
val rpc = List(
|
|
|
|
Compile.akkaHttp,
|
|
|
|
Compile.akkaStream,
|
|
|
|
Compile.playJson,
|
|
|
|
Compile.slf4j,
|
|
|
|
Test.akkaHttp,
|
|
|
|
Test.akkaStream,
|
|
|
|
Test.logback,
|
|
|
|
Test.scalaTest,
|
|
|
|
Test.scalacheck
|
|
|
|
)
|
2018-11-21 21:01:03 +01:00
|
|
|
|
|
|
|
val bench = List(
|
|
|
|
"org.slf4j" % "slf4j-api" % V.slf4j withSources() withJavadoc(),
|
|
|
|
Compile.logback
|
|
|
|
)
|
2018-04-17 16:21:20 +02:00
|
|
|
}
|