-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
34 lines (32 loc) · 1.15 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
import Dependencies.*
//import org.galaxio.performance.avro.RegistrySubject
val scalaV = "2.13.14"
val avroSchemas = Seq() // for example Seq(RegistrySubject("test-hello-schema", 1))
lazy val root = (project in file("."))
.enablePlugins(GitVersioning, GatlingPlugin)
.settings(
name := "gatling-kafka-plugin",
scalaVersion := scalaV,
libraryDependencies ++= gatling,
libraryDependencies ++= gatlingTest,
libraryDependencies ++= kafka,
libraryDependencies ++= Seq(avro4s, avroCore, avroSerdes, avroSerializers),
schemaRegistrySubjects ++= avroSchemas,
// schemaRegistryUrl := "http://test-schema-registry:8081",
resolvers ++= Seq(
"Confluent" at "https://packages.confluent.io/maven/",
),
resolvers ++= Resolver.sonatypeOssRepos("public"),
scalacOptions ++= Seq(
"-encoding",
"UTF-8", // Option and arguments on same line
"-Xfatal-warnings", // New lines for each options
"-deprecation",
"-feature",
"-unchecked",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials",
"-language:postfixOps",
),
)