-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.sbt
30 lines (27 loc) · 1.05 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
lazy val `faunadb-jvm` =
(project in file("."))
.settings(Settings.commonSettings: _*)
.settings(Settings.rootSettings: _*)
.aggregate(`faunadb-common`, `faunadb-java`, `faunadb-scala`)
lazy val `faunadb-common` =
project
.configs(Configs.commonConfigs: _*)
.settings(Settings.commonSettings: _*)
.settings(Settings.javaCommonSettings: _*)
.settings(Settings.faunadbCommonSettings)
.settings(libraryDependencies ++= Dependencies.faunadbCommon)
lazy val `faunadb-java` =
project
.dependsOn(`faunadb-common`)
.configs(Configs.commonConfigs: _*)
.settings(Settings.commonSettings: _*)
.settings(Settings.javaCommonSettings: _*)
.settings(Settings.faunadbJavaSettings)
.settings(libraryDependencies ++= Dependencies.faunadbJava)
lazy val `faunadb-scala` =
project
.dependsOn(`faunadb-common`)
.configs(Configs.commonConfigs: _*)
.settings(Settings.commonSettings: _*)
.settings(Settings.faunadbScalaSettings)
.settings(libraryDependencies ++= Dependencies.faunadbScala(scalaVersion.value))