-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbuild.sbt
35 lines (28 loc) · 875 Bytes
/
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
organization in ThisBuild := "com.stripe"
scalaVersion in ThisBuild := "2.12.2"
crossScalaVersions in ThisBuild := Seq("2.10.6", "2.11.11", "2.12.2")
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked",
"-optimize"
)
autoAPIMappings in ThisBuild := true
maxErrors in ThisBuild := 8
val unpublished = Seq(publish := (), publishLocal := (), publishArtifact := false)
lazy val root = project.
in(file(".")).
dependsOn(bonsaiCore).
aggregate(bonsaiCore, bonsaiExample, bonsaiBenchmark).
settings(unpublished: _*)
lazy val bonsaiCore = project.
in(file("bonsai-core")).
enablePlugins(ScalaUnidocPlugin)
lazy val bonsaiExample = project.
in(file("bonsai-example")).
dependsOn(bonsaiCore).
settings(unpublished: _*)
lazy val bonsaiBenchmark = project.
in(file("bonsai-benchmark")).
dependsOn(bonsaiCore).
settings(unpublished: _*)