forked from sksamuel/avro4s
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
59 lines (52 loc) · 1.46 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
// Note: settings common to all subprojects are defined in project/GlobalPlugin.scala
// The root project is implicit, so we don't have to define it.
// We do need to prevent publishing for it, though:
lazy val root = Project("avro4s", file("."))
.settings(
publish := {},
publishArtifact := false,
name := "avro4s"
)
.aggregate(
`avro4s-core`,
`avro4s-json`,
// `avro4s-cats`,
`avro4s-kafka`,
`avro4s-refined`
)
val `avro4s-core` = project.in(file("avro4s-core"))
.settings(
libraryDependencies ++= Seq(
"com.propensive" %% "magnolia" % MagnoliaVersion,
"com.chuusai" %% "shapeless" % ShapelessVersion,
"org.json4s" %% "json4s-native" % Json4sVersion
)
)
val `avro4s-json` = project.in(file("avro4s-json"))
.dependsOn(`avro4s-core`)
.settings(
libraryDependencies ++= Seq(
"org.json4s" %% "json4s-native" % Json4sVersion
)
)
val `avro4s-cats` = project.in(file("avro4s-cats"))
.dependsOn(`avro4s-core`)
.settings(
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % CatsVersion
)
)
val `avro4s-kafka` = project.in(file("avro4s-kafka"))
.dependsOn(`avro4s-core`)
.settings(
libraryDependencies ++= Seq(
"org.apache.kafka" % "kafka-clients" % "2.2.1"
)
)
val `avro4s-refined` = project.in(file("avro4s-refined"))
.dependsOn(`avro4s-core`)
.settings(
libraryDependencies ++= Seq(
"eu.timepit" %% "refined" % RefinedVersion
)
)