forked from lagom/lagom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
545 lines (495 loc) · 19.9 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
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
import sbt.ScriptedPlugin
import Tests._
import com.typesafe.sbt.SbtMultiJvm
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
import lagom.Protobuf
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
import de.heikoseeberger.sbtheader.HeaderPattern
val PlayVersion = "2.5.0"
val AkkaVersion = "2.4.2"
val AkkaPersistenceCassandraVersion = "0.11"
val ScalaTestVersion = "2.2.4"
val JacksonVersion = "2.7.2"
val CassandraAllVersion = "3.0.2"
val scalaTest = "org.scalatest" %% "scalatest" % ScalaTestVersion
def common: Seq[Setting[_]] = releaseSettings ++ bintraySettings ++ Seq(
organization := "com.lightbend.lagom",
// Must be "Apache-2.0", because bintray requires that it is a license that it knows about
licenses := Seq(("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))),
homepage := Some(url("http://www.lagomframework.com/")),
sonatypeProfileName := "com.lightbend",
headers := headers.value ++ Map(
"scala" -> (
HeaderPattern.cStyleBlockComment,
"""|/*
| * Copyright (C) 2016 Lightbend Inc. <http://www.lightbend.com>
| */
|""".stripMargin
),
"java" -> (
HeaderPattern.cStyleBlockComment,
"""|/*
| * Copyright (C) 2016 Lightbend Inc. <http://www.lightbend.com>
| */
|""".stripMargin
)
),
pomExtra := {
<scm>
<url>https://github.com/lagom/lagom</url>
<connection>scm:git:[email protected]:lagom/lagom.git</connection>
</scm>
<developers>
<developer>
<id>lagom</id>
<name>Lagom Contributors</name>
<url>https://github.com/lagom</url>
</developer>
</developers>
},
pomIncludeRepository := { _ => false },
concurrentRestrictions in Global += Tags.limit(Tags.Test, 1)
)
def bintraySettings: Seq[Setting[_]] = Seq(
bintrayOrganization := Some("lagom"),
bintrayRepository := "sbt-plugin-releases",
bintrayPackage := "lagom-sbt-plugin",
bintrayReleaseOnPublish := false
)
def releaseSettings: Seq[Setting[_]] = Seq(
releasePublishArtifactsAction := PgpKeys.publishSigned.value,
releaseTagName := (version in ThisBuild).value,
releaseProcess := {
import ReleaseTransformations._
Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
releaseStepTask(bintrayRelease in thisProjectRef.value),
releaseStepCommand("sonatypeRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)
}
)
def runtimeLibCommon: Seq[Setting[_]] = common ++ SbtScalariform.scalariformSettings ++ Seq(
crossScalaVersions := Seq("2.11.7"),
scalaVersion := crossScalaVersions.value.head,
crossVersion := CrossVersion.binary,
crossPaths := false,
dependencyOverrides += "com.typesafe.akka" %% "akka-actor" % AkkaVersion,
dependencyOverrides += "com.typesafe.akka" %% "akka-slf4j" % AkkaVersion,
// compile options
scalacOptions in Compile ++= Seq("-encoding", "UTF-8", "-target:jvm-1.8", "-feature", "-unchecked", "-Xlog-reflective-calls", "-Xlint", "-deprecation"),
javacOptions in compile ++= Seq("-encoding", "UTF-8", "-source", "1.8", "-target", "1.8", "-parameters", "-Xlint:unchecked", "-Xlint:deprecation"),
incOptions := incOptions.value.withNameHashing(true),
// show full stack traces and test case durations
testOptions in Test += Tests.Argument("-oDF"),
// -v Log "test run started" / "test started" / "test run finished" events on log level "info" instead of "debug".
// -a Show stack traces and exception class name for AssertionErrors.
testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a"),
ScalariformKeys.preferences in Compile := formattingPreferences,
ScalariformKeys.preferences in Test := formattingPreferences,
ScalariformKeys.preferences in MultiJvm := formattingPreferences
)
def formattingPreferences = {
import scalariform.formatter.preferences._
FormattingPreferences()
.setPreference(RewriteArrowSymbols, false)
.setPreference(AlignParameters, true)
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(SpacesAroundMultiImports, true)
}
val defaultMultiJvmOptions: List[String] = {
import scala.collection.JavaConverters._
// multinode.D= and multinode.X= makes it possible to pass arbitrary
// -D or -X arguments to the forked jvm, e.g.
// -Djava.net.preferIPv4Stack=true or -Dmultinode.Xmx512m
val MultinodeJvmArgs = "multinode\\.(D|X)(.*)".r
val knownPrefix = Set("akka.", "lagom.")
val properties = System.getProperties.propertyNames.asScala.toList.collect {
case MultinodeJvmArgs(a, b) =>
val value = System.getProperty("multinode." + a + b)
"-" + a + b + (if (value == "") "" else "=" + value)
case key: String if knownPrefix.exists(pre => key.startsWith(pre)) => "-D" + key + "=" + System.getProperty(key)
}
"-Xmx128m" :: properties
}
def multiJvmTestSettings: Seq[Setting[_]] = SbtMultiJvm.multiJvmSettings ++ Seq(
parallelExecution in Test := false,
MultiJvmKeys.jvmOptions in MultiJvm := defaultMultiJvmOptions,
// make sure that MultiJvm test are compiled by the default test compilation
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
// tag MultiJvm tests so that we can use concurrentRestrictions to disable parallel tests
executeTests in MultiJvm <<= (executeTests in MultiJvm) tag(Tags.Test),
// make sure that MultiJvm tests are executed by the default test target,
// and combine the results from ordinary test and multi-jvm tests
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
case (testResults, multiNodeResults) =>
val overall =
if (testResults.overall.id < multiNodeResults.overall.id)
multiNodeResults.overall
else
testResults.overall
Tests.Output(overall,
testResults.events ++ multiNodeResults.events,
testResults.summaries ++ multiNodeResults.summaries)
}
)
val apiProjects = Seq[ProjectReference](
api,
`api-tools`,
spi,
jackson,
core,
server,
client,
cluster,
pubsub,
persistence,
testkit,
`service-registry-client`,
`play-integration`,
logback,
immutables
)
val otherProjects = Seq[ProjectReference](
`dev-environment`,
`build-link`,
`reloadable-server`,
`cassandra-server`,
`sbt-plugin`,
`service-integration-tests`
)
lazy val root = (project in file("."))
.settings(name := "lagom")
.settings(common: _*)
.settings(
PgpKeys.publishSigned := {},
publishLocal := {},
publishArtifact in Compile := false,
publish := {}
)
.enablePlugins(lagom.UnidocRoot)
.settings(UnidocRoot.settings(Nil, otherProjects): _*)
.aggregate(apiProjects: _*)
.aggregate(otherProjects: _*)
def RuntimeLibPlugins = AutomateHeaderPlugin && Sonatype && PluginsAccessor.exclude(BintrayPlugin)
def SbtPluginPlugins = AutomateHeaderPlugin && BintrayPlugin && PluginsAccessor.exclude(Sonatype)
lazy val api = (project in file("api"))
.settings(name := "lagom-javadsl-api")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-java" % PlayVersion,
"com.typesafe.akka" %% "akka-slf4j" % AkkaVersion,
"com.typesafe.akka" %% "akka-stream" % AkkaVersion,
"org.pcollections" % "pcollections" % "2.1.2",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
scalaTest % Test,
"com.fasterxml.jackson.module" % "jackson-module-parameter-names" % JacksonVersion % Test
)
)
lazy val immutables = (project in file("immutables"))
.settings(name := "lagom-javadsl-immutables")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies += "org.immutables" % "value" % "2.1.3"
)
lazy val spi = (project in file("spi"))
.settings(name := "lagom-spi")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
lazy val jackson = (project in file("jackson"))
.settings(name := "lagom-javadsl-jackson")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.fasterxml.jackson.module" % "jackson-module-parameter-names" % JacksonVersion,
"com.fasterxml.jackson.datatype" % "jackson-datatype-pcollections" % JacksonVersion,
"com.fasterxml.jackson.datatype" % "jackson-datatype-guava" % JacksonVersion,
"com.fasterxml.jackson.datatype" % "jackson-datatype-jdk8" % JacksonVersion,
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % JacksonVersion,
"com.typesafe.akka" %% "akka-testkit" % AkkaVersion % "test",
scalaTest % Test,
"com.novocode" % "junit-interface" % "0.11" % "test")
)
.dependsOn(api, immutables % "test->compile")
lazy val `api-tools` = (project in file("api-tools"))
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % PlayVersion,
scalaTest % Test
)
)
.dependsOn(
api,
`server` % "compile->test"
)
lazy val core = (project in file("core"))
.settings(name := "lagom-core")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.dependsOn(api, jackson)
lazy val client = (project in file("client"))
.settings(name := "lagom-javadsl-client")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-ws" % PlayVersion,
"com.typesafe.netty" % "netty-reactive-streams" % "1.0.1",
"io.dropwizard.metrics" % "metrics-core" % "3.1.2"
)
)
.dependsOn(core, spi)
lazy val `service-registry-client` = (project in file("service-registry-client"))
.settings(name := "lagom-service-registry-client")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.dependsOn(client, immutables % "provided")
lazy val `play-integration` = (project in file("play-integration"))
.settings(name := "lagom-play-integration")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.dependsOn(`service-registry-client`)
lazy val server = (project in file("server"))
.settings(name := "lagom-javadsl-server")
.enablePlugins(RuntimeLibPlugins)
.settings(runtimeLibCommon: _*)
.dependsOn(core, client, `service-registry-client`, immutables % "provided")
lazy val testkit = (project in file("testkit"))
.settings(name := "lagom-javadsl-testkit")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(forkedTests: _*)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-netty-server" % PlayVersion,
"org.apache.cassandra" % "cassandra-all" % CassandraAllVersion exclude("io.netty", "netty-all"),
"com.typesafe.akka" %% "akka-stream-testkit" % AkkaVersion,
scalaTest % Test
)
)
.dependsOn(server, pubsub, persistence % "compile;test->test")
lazy val `service-integration-tests` = (project in file("service-integration-tests"))
.settings(name := "lagom-service-integration-tests")
.settings(runtimeLibCommon: _*)
.enablePlugins(AutomateHeaderPlugin)
.settings(forkedTests: _*)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-netty-server" % PlayVersion,
"com.novocode" % "junit-interface" % "0.11" % "test",
scalaTest
),
PgpKeys.publishSigned := {},
publish := {}
)
.dependsOn(server, persistence, pubsub, testkit, logback)
// for forked tests, necessary for Cassandra
def forkedTests: Seq[Setting[_]] = Seq(
fork in Test := true,
concurrentRestrictions in Global += Tags.limit(Tags.Test, 1),
javaOptions in Test ++= Seq("-Xms256M", "-Xmx512M"),
testGrouping in Test <<= definedTests in Test map singleTestsGrouping
)
// group tests, a single test per group
def singleTestsGrouping(tests: Seq[TestDefinition]) = {
// We could group non Cassandra tests into another group
// to avoid new JVM for each test, see http://www.scala-sbt.org/release/docs/Testing.html
val javaOptions = Seq("-Xms256M", "-Xmx512M")
tests map { test =>
new Tests.Group(
name = test.name,
tests = Seq(test),
runPolicy = Tests.SubProcess(javaOptions))
}
}
lazy val cluster = (project in file("cluster"))
.settings(name := "lagom-javadsl-cluster")
.dependsOn(api, jackson)
.settings(runtimeLibCommon: _*)
.settings(multiJvmTestSettings: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-cluster" % AkkaVersion,
"com.typesafe.akka" %% "akka-testkit" % AkkaVersion % "test",
"com.typesafe.akka" %% "akka-multi-node-testkit" % AkkaVersion % "test",
"org.scala-lang.modules" %% "scala-java8-compat" % "0.7.0",
scalaTest % Test,
"com.novocode" % "junit-interface" % "0.11" % "test",
"com.google.inject" % "guice" % "4.0"
)
) configs (MultiJvm)
lazy val pubsub = (project in file("pubsub"))
.settings(name := "lagom-javadsl-pubsub")
.dependsOn(cluster)
.settings(runtimeLibCommon: _*)
.settings(multiJvmTestSettings: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-cluster-tools" % AkkaVersion,
"com.typesafe.akka" %% "akka-testkit" % AkkaVersion % "test",
"com.typesafe.akka" %% "akka-multi-node-testkit" % AkkaVersion % "test",
"com.typesafe.akka" %% "akka-stream-testkit" % AkkaVersion % "test",
"org.scala-lang.modules" %% "scala-java8-compat" % "0.7.0",
scalaTest % Test,
"com.novocode" % "junit-interface" % "0.11" % "test",
"com.google.inject" % "guice" % "4.0"
)
) configs (MultiJvm)
lazy val persistence = (project in file("persistence"))
.settings(name := "lagom-javadsl-persistence")
.dependsOn(cluster, `service-registry-client`)
.settings(runtimeLibCommon: _*)
.settings(multiJvmTestSettings: _*)
.settings(Protobuf.settings)
.enablePlugins(RuntimeLibPlugins)
.settings(forkedTests: _*)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-persistence" % AkkaVersion,
"com.typesafe.akka" %% "akka-persistence-query-experimental" % AkkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding" % AkkaVersion,
"com.typesafe.akka" %% "akka-testkit" % AkkaVersion % "test",
"com.typesafe.akka" %% "akka-multi-node-testkit" % AkkaVersion % "test",
"com.typesafe.akka" %% "akka-stream-testkit" % AkkaVersion % "test",
"com.typesafe.akka" %% "akka-persistence-cassandra" % AkkaPersistenceCassandraVersion,
"org.apache.cassandra" % "cassandra-all" % CassandraAllVersion % "test" exclude("io.netty", "netty-all"),
"io.netty" % "netty-codec-http" % "4.0.33.Final" % "test",
"io.netty" % "netty-transport-native-epoll" % "4.0.33.Final" % "test" classifier "linux-x86_64",
"org.scala-lang.modules" %% "scala-java8-compat" % "0.7.0",
scalaTest % Test,
"com.novocode" % "junit-interface" % "0.11" % "test",
"com.google.inject" % "guice" % "4.0"
)
) configs (MultiJvm)
lazy val logback = (project in file("logback"))
.enablePlugins(RuntimeLibPlugins)
.settings(runtimeLibCommon: _*)
.settings(
name := "lagom-logback",
libraryDependencies ++= Seq(
// needed only because we use play.utils.Colors
"com.typesafe.play" %% "play" % PlayVersion
) ++ Seq("logback-core", "logback-classic").map("ch.qos.logback" % _ % "1.1.3")
)
lazy val `dev-environment` = (project in file("dev"))
.settings(name := "lagom-dev")
.settings(common: _*)
.enablePlugins(AutomateHeaderPlugin)
.aggregate(`build-link`, `reloadable-server`, `sbt-plugin`, `service-locator`, `cassandra-server`)
.settings(
publish := {},
PgpKeys.publishSigned := {}
)
lazy val `build-link` = (project in file("dev") / "build-link")
.settings(common: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
crossPaths := false,
autoScalaLibrary := false,
libraryDependencies ++= Seq(
"com.typesafe.play" % "play-exceptions" % PlayVersion,
"com.typesafe.play" % "build-link" % PlayVersion
)
)
lazy val `reloadable-server` = (project in file("dev") / "reloadable-server")
.settings(name := "lagom-reloadable-server")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play" % PlayVersion,
"com.typesafe.play" %% "play-server" % PlayVersion
)
)
.dependsOn(`build-link`)
lazy val `sbt-plugin` = (project in file("dev") / "sbt-plugin")
.settings(name := "lagom-sbt-plugin")
.settings(common: _*)
.settings(scriptedSettings: _*)
.enablePlugins(SbtPluginPlugins)
.settings(
sbtPlugin := true,
libraryDependencies ++= Seq(
// This is used in the code to check if the embedded cassandra server is started
"com.datastax.cassandra" % "cassandra-driver-core" % "3.0.0",
// And this is needed to silence the datastax driver logging
"org.slf4j" % "slf4j-nop" % "1.7.14",
scalaTest % Test
),
addSbtPlugin(("com.typesafe.play" % "sbt-plugin" % PlayVersion).exclude("org.slf4j","slf4j-simple")),
sourceGenerators in Compile <+= (version, sourceManaged in Compile) map Generators.version,
scriptedDependencies := {
val () = publishLocal.value
val () = (publishLocal in `service-locator`).value
val () = (publishLocal in LocalProject("sbt-scripted-tools")).value
},
publishTo := {
if (isSnapshot.value) {
// Bintray doesn't support publishing snapshots, publish to Sonatype snapshots instead
Some(Opts.resolver.sonatypeSnapshots)
} else publishTo.value
},
publishMavenStyle := isSnapshot.value
).dependsOn(`build-link`)
def scriptedSettings: Seq[Setting[_]] = ScriptedPlugin.scriptedSettings ++
Seq(scriptedLaunchOpts <+= version apply { v => s"-Dproject.version=$v" }) ++
Seq(
scripted <<= ScriptedPlugin.scripted.tag(Tags.Test),
scriptedLaunchOpts ++= Seq(
"-Xmx768m",
"-XX:MaxMetaspaceSize=384m",
"-Dscala.version=" + sys.props.get("scripted.scala.version").getOrElse((scalaVersion in `reloadable-server`).value)
)
)
// This project doesn't get aggregated, it is only executed by the sbt-plugin scripted dependencies
lazy val `sbt-scripted-tools` = (project in file("dev") / "sbt-scripted-tools")
.settings(name := "lagom-sbt-scripted-tools")
.settings(common: _*)
.settings(
sbtPlugin := true
).dependsOn(`sbt-plugin`)
lazy val `service-locator` = (project in file("dev") / "service-locator")
.settings(name := "lagom-service-locator")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-netty-server" % PlayVersion,
scalaTest % Test
)
)
.dependsOn(server, logback)
lazy val `cassandra-server` = (project in file("dev") / "cassandra-server")
.settings(name := "lagom-cassandra-server")
.settings(runtimeLibCommon: _*)
.enablePlugins(RuntimeLibPlugins)
.settings(
libraryDependencies ++= Seq(
// Cassandra goes into 100% CPU spin when starting with netty jars of different versions. Hence,
// we are making sure that the only netty dependency comes from cassandra-all, and manually excludes
// all netty transitive dependencies of akka-persistence-cassandra. Mind that dependencies are
// excluded one-by-one because exclusion rules do not work with maven dependency resolution - see
// https://github.com/lagom/lagom/issues/26#issuecomment-196718818
"com.typesafe.akka" %% "akka-persistence-cassandra" % AkkaPersistenceCassandraVersion
exclude("io.netty", "netty-all") exclude("io.netty", "netty-handler") exclude("io.netty", "netty-buffer")
exclude("io.netty", "netty-common") exclude("io.netty", "netty-transport") exclude("io.netty", "netty-codec"),
"org.apache.cassandra" % "cassandra-all" % CassandraAllVersion
)
)