-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
51 lines (46 loc) · 1.03 KB
/
Copy pathbuild.sbt
File metadata and controls
51 lines (46 loc) · 1.03 KB
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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.7.2"
lazy val core = (project in file("modules/core"))
.settings(
scalacOptions ++= Seq(
"-Xcheck-macros",
"-deprecation",
),
name := "kentavro-core",
libraryDependencies ++= List(
deps.avro,
deps.scalaTest
)
)
lazy val idl = (project in file("modules/idl"))
.settings(
name := "kentavro-idl",
libraryDependencies ++= List(
deps.avroIdl,
deps.scalaTest
)
)
.dependsOn(core)
lazy val example = (project in file("example"))
.enablePlugins(BuildInfoPlugin)
.settings(
name := "kentavro-example",
buildInfoOptions += BuildInfoOption.ConstantValue,
buildInfoKeys ++= Seq[BuildInfoKey](
"rootDir" -> baseDirectory.value.toString
),
buildInfoPackage := "kentavro.example",
scalacOptions ++= Seq(
"-Yexplicit-nulls"
),
)
.dependsOn(idl)
lazy val root = (project in file("."))
.settings(
name := "kentavro"
)
.aggregate(
core,
idl,
example
)