-
Notifications
You must be signed in to change notification settings - Fork 37
/
build.sbt
70 lines (62 loc) · 2.78 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import sbt._
import sbt.Keys._
lazy val commonSettings = Seq(
version := "3.0",
scalaVersion := "2.12.11"
)
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.settings(
// This way we kill 'zombie' senders and receivers after unsuccessful test(s)
fork in Test := true
)
/*
lazy val oracleaq = project.in(file("oracleaq")).
dependsOn(root).
settings(commonSettings: _*).
settings(name := "mqperfext").
settings(libraryDependencies ++= Seq(
// "com.oracle" % "aqapi_2.11" % "1.0.0",
// "com.oracle" % "ojdbc6_2.11" % "1.0.0",
"javax.transaction" % "jta" % "1.1"
)
)
*/
name := "mqperf"
val prometheusVersion = "0.9.0"
val doobieVersion = "0.9.0"
libraryDependencies ++= Seq(
"com.amazonaws" % "aws-java-sdk" % "1.11.797" exclude ("commons-logging", "commons-logging"),
"org.json4s" %% "json4s-native" % "3.6.8",
"org.mongodb" % "mongodb-driver" % "3.12.5",
"com.rabbitmq" % "amqp-client" % "5.9.0",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.slf4j" % "jcl-over-slf4j" % "1.7.30",
"org.slf4j" % "log4j-over-slf4j" % "1.7.30",
"org.apache.kafka" % "kafka-clients" % "2.6.0",
"org.apache.pulsar" % "pulsar-client" % "2.6.2" exclude ("org.apache.pulsar", "bouncy-castle-bc-shaded"),
"org.scalatest" %% "scalatest" % "3.1.2" % Test,
"com.geteventstore" %% "eventstore-client" % "7.3.0",
"org.apache.activemq" % "activemq-client" % "5.15.12" exclude ("org.apache.geronimo.specs", "geronimo-jms_1.1_spec"),
"com.typesafe" % "config" % "1.4.0",
"org.apache.activemq" % "artemis-jms-client" % "2.15.0" exclude ("commons-logging", "commons-logging"),
"org.apache.rocketmq" % "rocketmq-client" % "4.7.0" exclude ("io.netty", "netty-all") exclude ("commons-logging", "commons-logging"),
"com.softwaremill.kmq" %% "core" % "0.2.3",
"io.prometheus" % "simpleclient" % prometheusVersion,
"io.prometheus" % "simpleclient_common" % prometheusVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"org.tpolecat" %% "doobie-hikari" % doobieVersion,
"io.nats" % "java-nats-streaming" % "2.2.3",
"redis.clients" % "jedis" % "3.6.1"
)
assemblyOption in assembly ~= {
_.copy(includeBin = true, includeScala = false, includeDependency = false)
}
assemblyMergeStrategy in assembly := {
case PathList(ps @ _*) if ps.last == "io.netty.versions.properties" => MergeStrategy.first
case PathList(ps @ _*) if ps.last == "public-suffix-list.txt" => MergeStrategy.first
case PathList(ps @ _*) if ps.last == "duration.proto" => MergeStrategy.last
case PathList(ps @ _*) if ps.last == "field_mask.proto" => MergeStrategy.last
case x => (assemblyMergeStrategy in assembly).value(x)
}