-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
55 lines (48 loc) · 1.55 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
import Dependencies.*
lazy val scala3 = "3.3.4"
lazy val supportedScalaVersions = List(scala3)
lazy val scmUrl = "https://github.com/sky-uk/fs2-kafka-topic-loader"
ThisBuild / organization := "uk.sky"
ThisBuild / description := "Read the contents of provided Kafka topics"
ThisBuild / licenses := List("BSD New" -> url("https://opensource.org/licenses/BSD-3-Clause"))
ThisBuild / homepage := Some(url(scmUrl))
ThisBuild / developers := List(
Developer(
"Sky UK OSS",
"Sky UK OSS",
sys.env.getOrElse("SONATYPE_EMAIL", scmUrl),
url(scmUrl)
)
)
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
lazy val root = (project in file("."))
.settings(
name := "fs2-kafka-topic-loader",
scalaVersion := scala3,
crossScalaVersions := supportedScalaVersions,
CommonSettings.default,
libraryDependencies ++= Seq(
Cats.core,
Cats.effect,
Cats.log4cats,
Cats.log4catsSlf4j % Test,
Fs2.core,
Fs2.kafka,
catsEffectTesting % Test,
logbackClassic % Test,
scalaTest % Test,
testContainersKafka % Test
)
)
lazy val it = (project in file("it"))
.settings(
name := "integration-test",
scalaVersion := scala3,
publish := false
)
.dependsOn(root % "test->test;compile->compile")
Test / parallelExecution := false
Test / fork := true
Global / onChangedBuildSource := ReloadOnSourceChanges
Global / scalafmtOnCompile := true