-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.sbt
52 lines (40 loc) · 1.54 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
organization in ThisBuild := "net.tixxit"
licenses in ThisBuild += ("BSD-style" -> url("http://opensource.org/licenses/MIT"))
scalaVersion in ThisBuild := "2.13.1"
crossScalaVersions in ThisBuild := Seq("2.11.12", "2.12.11", "2.13.1")
scalacOptions in ThisBuild ++= Seq("-deprecation", "-feature", "-unchecked", "-language:higherKinds")
maxErrors in ThisBuild := 5
addCommandAlias("publishDocs", ";unidoc;ghpagesPushSite")
import com.typesafe.sbt.site.SitePlugin.autoImport._
lazy val root = project.
in(file(".")).
aggregate(delimitedCore, delimitedIteratee).
enablePlugins(GhpagesPlugin, ScalaUnidocPlugin, SiteScaladocPlugin).
settings(Publish.skip: _*).
settings(
name := "delimited",
addMappingsToSiteDir(mappings in (ScalaUnidoc, packageDoc), siteSubdirName in SiteScaladoc),
autoAPIMappings := true,
git.remoteRepo := "[email protected]:tixxit/delimited.git"
)
lazy val mimaVersions = Set("0.10.0", "0.10.1")
lazy val delimitedCore = project.
in(file("delimited-core")).
settings(Publish.settings: _*).
settings(
mimaPreviousArtifacts := mimaVersions.map("net.tixxit" %% "delimited-core" % _)
)
lazy val delimitedIteratee = project.
in(file("delimited-iteratee")).
dependsOn(delimitedCore).
settings(Publish.settings: _*).
settings(
mimaPreviousArtifacts := mimaVersions.map("net.tixxit" %% "delimited-iteratee" % _)
)
lazy val delimitedBenchmark = project.
in(file("delimited-benchmark")).
dependsOn(delimitedCore).
settings(Publish.skip: _*).
settings(
mimaPreviousArtifacts := Set.empty
)