forked from wdacom/sdbc
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sbt
More file actions
39 lines (27 loc) · 1.2 KB
/
build.sbt
File metadata and controls
39 lines (27 loc) · 1.2 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
lazy val base = project.in(file("base"))
lazy val cassandra = project.in(file("cassandra")).dependsOn(base % "test->test;compile->compile")
lazy val jdbc = project.in(file("jdbc")).dependsOn(base % "test->test;compile->compile")
lazy val h2 = project.in(file("h2")).dependsOn(jdbc % "test->test;compile->compile")
lazy val h2Benchmarks = project.in(file("h2/benchmarks")).dependsOn(h2)
lazy val mysql = project.in(file("mariadb")).dependsOn(jdbc % "test->test;compile->compile")
lazy val postgresql = project.in(file("postgresql")).dependsOn(jdbc % "test->test;compile->compile")
lazy val sqlserver = project.in(file("sqlserver")).dependsOn(jdbc % "test->test;compile->compile")
lazy val examples = project.in(file("examples")).dependsOn(h2 % "test->test;compile->compile")
lazy val sdbc =
project.in(file(".")).
settings(publishArtifact := false).
enablePlugins(ScalaUnidocPlugin).
aggregate(
base,
cassandra,
jdbc,
h2,
h2Benchmarks,
postgresql,
sqlserver,
mysql,
examples
)
scalaVersion := "2.13.1"
crossScalaVersions := Seq("2.12.6", "2.11.12")
scalacOptions in (Compile, doc) ++= Seq("-doc-root-content", baseDirectory.value+"/rootdoc.txt")