-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathDependencies.scala
163 lines (125 loc) · 8.32 KB
/
Dependencies.scala
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
import sbt._
//noinspection TypeAnnotation
object Dependencies {
val akkaVersion = "2.6.20"
val akkaManagementVersion = "1.1.4"
val akkaPersistenceCassandraVersion = "1.0.6"
val akkaHttpVersion = "10.2.9"
val http4sVersion = "0.22.15"
val circeVersion = "0.14.10"
val fs2Version = "2.5.12"
val mockitoScalaVersion = "1.17.37"
val catsEffectVersion = "2.5.5"
val catsCoreVersion = "2.13.0"
val scalapbVersion = scalapb.compiler.Version.scalapbVersion
val springVersion = "6.2.5"
val springBootVersion = "2.6.1"
val akkaInmemoryJournal = ("com.github.dnvriend" %% "akka-persistence-inmemory" % "2.5.15.2")
.exclude("com.typesafe.akka", "akka-actor")
.exclude("com.typesafe.akka", "akka-persistence")
.exclude("com.typesafe.akka", "akka-persistence-query")
.exclude("com.typesafe.akka", "akka-stream")
.exclude("com.typesafe.akka", "akka-protobuf")
val scalaJava8Compat100 = "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2"
val scalaTest = "org.scalatest" %% "scalatest" % "3.2.19"
val mockitoScala = "org.mockito" %% "mockito-scala" % mockitoScalaVersion
val mockitoScalaTest = "org.mockito" %% "mockito-scala-scalatest" % mockitoScalaVersion
val mockServer = "org.mock-server" % "mockserver-netty" % "5.15.0"
val junitInterface = "com.github.sbt" % "junit-interface" % "0.13.3"
val junitJupiter = "org.junit.jupiter" % "junit-jupiter-engine" % "5.12.1"
val akkaActor = "com.typesafe.akka" %% "akka-actor" % akkaVersion
val akkaStream = "com.typesafe.akka" %% "akka-stream" % akkaVersion
val akkaProtobuf = "com.typesafe.akka" %% "akka-protobuf" % akkaVersion
val akkaPersistence = "com.typesafe.akka" %% "akka-persistence" % akkaVersion
val akkaDiscovery = "com.typesafe.akka" %% "akka-discovery" % akkaVersion
val akkaPersistenceQuery = "com.typesafe.akka" %% "akka-persistence-query" % akkaVersion
val akkaPersistenceCassandra = "com.typesafe.akka" %% "akka-persistence-cassandra" % akkaPersistenceCassandraVersion
val akkaCluster = "com.typesafe.akka" %% "akka-cluster" % akkaVersion
val akkaClusterSharding = "com.typesafe.akka" %% "akka-cluster-sharding" % akkaVersion
val akkaClusterTools = "com.typesafe.akka" %% "akka-cluster-tools" % akkaVersion
val akkaClusterMetrics = "com.typesafe.akka" %% "akka-cluster-metrics" % akkaVersion
val akkaSlf4j = "com.typesafe.akka" %% "akka-slf4j" % akkaVersion
val akkaTestKit = "com.typesafe.akka" %% "akka-testkit" % akkaVersion
val akkaStreamTestKit = "com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion
val akkaMultiNodeTestkit = "com.typesafe.akka" %% "akka-multi-node-testkit" % akkaVersion
val akkaPki = "com.typesafe.akka" %% "akka-pki" % akkaVersion
val akkaActorTyped = "com.typesafe.akka" %% "akka-actor-typed" % akkaVersion
val akkaClusterTyped = "com.typesafe.akka" %% "akka-cluster-typed" % akkaVersion
val akkaPersistenceTyped = "com.typesafe.akka" %% "akka-persistence-typed" % akkaVersion
val akkaStreamTyped = "com.typesafe.akka" %% "akka-stream-typed" % akkaVersion
val akkaHttpSprayJson = "com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion
val akkaManagementHttp = "com.lightbend.akka.management" %% "akka-management-cluster-http" % akkaManagementVersion
val akkaClusterBoostrap = "com.lightbend.akka.management" %% "akka-management-cluster-bootstrap" % akkaManagementVersion
val akkaDiscoveryKube = "com.lightbend.akka.discovery" %% "akka-discovery-kubernetes-api" % akkaManagementVersion
val kafkaClient = "org.apache.kafka" % "kafka-clients" % "3.9.0"
val fs2Core = "co.fs2" %% "fs2-core" % fs2Version
val fs2Io = "co.fs2" %% "fs2-io" % fs2Version
val fs2kafka = "com.github.fd4s" %% "fs2-kafka" % "1.11.0"
val levelDB = "org.iq80.leveldb" % "leveldb" % "0.12"
val levelDBJni = "org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
val ficusConfig = "com.iheart" %% "ficus" % "1.5.2"
val scalaGraph = "org.scala-graph" %% "graph-core" % "1.13.6"
val scalaGraphDot = "org.scala-graph" %% "graph-dot" % "1.13.3"
val graphvizJava = "guru.nidi" % "graphviz-java" % "0.18.1"
val prometheus = "io.prometheus" % "simpleclient_hotspot" % "0.16.0"
val prometheusJmx = "io.prometheus.jmx" % "collector" % "0.20.0"
val sensors = "nl.pragmasoft.sensors" %% "sensors-core" % "0.4.1"
val cassandraUnit = "org.cassandraunit" % "cassandra-unit" % "4.3.1.0"
val cassandraDriverCore = "com.datastax.oss" % "java-driver-core" % "4.17.0"
val cassandraDriverQueryBuilder = "com.datastax.oss" % "java-driver-query-builder" % "4.17.0"
val cassandraDriverMetrics = "io.dropwizard.metrics" % "metrics-jmx" % "4.2.30"
val skuber = "io.skuber" %% "skuber" % "2.6.7"
val play = "com.typesafe.play" %% "play-json" % "2.9.4"
val http4s = "org.http4s" %% "http4s-core" % http4sVersion
val http4sDsl = "org.http4s" %% "http4s-dsl" % http4sVersion
val http4sServer = "org.http4s" %% "http4s-blaze-server" % http4sVersion
val http4sClient = "org.http4s" %% "http4s-blaze-client" % http4sVersion
val http4sCirce = "org.http4s" %% "http4s-circe" % http4sVersion
val http4sPrometheus = "org.http4s" %% "http4s-prometheus-metrics" % http4sVersion
val circe = "io.circe" %% "circe-core" % circeVersion
val circeParser = "io.circe" %% "circe-parser" % circeVersion
val circeGeneric = "io.circe" %% "circe-generic" % circeVersion
val circeGenericExtras = "io.circe" %% "circe-generic-extras" % "0.14.4"
val catsEffect = "org.typelevel" %% "cats-effect" % catsEffectVersion
val catsEffectTesting = "com.codecommit" %% "cats-effect-testing-scalatest" % "0.5.4"
val catsCore = "org.typelevel" %% "cats-core" % catsCoreVersion
val console4Cats = "dev.profunktor" %% "console4cats" % "0.8.0"
val catsRetry = "com.github.cb372" %% "cats-retry" % "2.1.1"
val jnrConstants = "com.github.jnr" % "jnr-constants" % "0.10.4"
def scalaReflect(scalaV: String): ModuleID = "org.scala-lang" % "scala-reflect" % scalaV
val javaxInject = "javax.inject" % "javax.inject" % "1"
val paranamer = "com.thoughtworks.paranamer" % "paranamer" % "2.8.3"
val findbugs = "com.google.code.findbugs" % "jsr305" % "1.3.9"
val scalaCollectionCompat = "org.scala-lang.modules" %% "scala-collection-compat" % "2.13.0"
val scalapbRuntime = "com.thesamet.scalapb" %% "scalapb-runtime" % scalapbVersion % "protobuf"
val protobufJava = "com.google.protobuf" % "protobuf-java" % "3.25.6" % "protobuf"
val betterFiles = "com.github.pathikrit" %% "better-files" % "3.9.2"
val typeSafeConfig = "com.typesafe" % "config" % "1.4.3"
val objenisis = "org.objenesis" % "objenesis" % "3.4"
val jodaTime = "joda-time" % "joda-time" % "2.13.1"
val slf4jApi = "org.slf4j" % "slf4j-api" % "2.0.17"
val logback = "ch.qos.logback" % "logback-classic" % "1.5.18"
val logstash = "net.logstash.logback" % "logstash-logback-encoder" % "7.3"
val scalaCheck = "org.scalacheck" %% "scalacheck" % "1.18.1"
val scalaCheckPlus = "org.scalatestplus" %% "scalacheck-1-17" % "3.2.18.0"
val scalaCheckPlusMockito = "org.scalatestplus" %% "mockito-3-12" % "3.2.10.0"
val scalaLogging = "com.typesafe.scala-logging" %% "scala-logging" % "3.9.5"
val springContext = "org.springframework" % "spring-context" % springVersion
val springCore = "org.springframework" % "spring-core" % springVersion
val springBootStarter = "org.springframework.boot" % "spring-boot-starter" % springBootVersion
val snakeYaml = "org.yaml" % "snakeyaml" % "2.4"
val jacksonDatabind = "com.fasterxml.jackson.core" % "jackson-databind" % "2.18.3"
val jacksonCore = "com.fasterxml.jackson.core" % "jackson-core" % "2.18.3"
val jawnParser = "org.typelevel" %% "jawn-parser" % "1.6.0"
val nettyHandler = "io.netty" % "netty-handler" % "4.1.119.Final"
private val bouncycastleVersion = "1.80"
val bouncyCastleBcprov = "org.bouncycastle" % "bcprov-jdk18on" % bouncycastleVersion
val bouncyCastleBcpkix = "org.bouncycastle" % "bcpkix-jdk18on" % bouncycastleVersion
val guava = "com.google.guava" % "guava" % "33.4.5-jre"
val kotlinXCoroutinesCore = "org.jetbrains.kotlinx" % "kotlinx-coroutines-core" % "1.9.0" pomOnly()
val kotlinXCoroutinesJdk8 = "org.jetbrains.kotlinx" % "kotlinx-coroutines-jdk8" % "1.9.0"
def scopeDeps(scope: String, modules: Seq[ModuleID]) = modules.map(m => m % scope)
def compileDeps(modules: ModuleID*) = modules.toSeq
def testDeps(modules: ModuleID*) = scopeDeps("test", modules)
def providedDeps(modules: ModuleID*) = scopeDeps("provided", modules)
}