-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbuild.sbt
More file actions
52 lines (41 loc) · 1.39 KB
/
build.sbt
File metadata and controls
52 lines (41 loc) · 1.39 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
52
import Dependencies._
ThisBuild / organization := "org.reactivemongo"
ThisBuild / scalaVersion := "2.12.21"
val scala3Lts = "3.8.3"
ThisBuild / crossScalaVersions := Seq(
"2.11.12",
scalaVersion.value,
"2.13.18",
scala3Lts
)
crossVersion := CrossVersion.binary
ThisBuild / credentials ++= sys.env.get("SONATYPE_USER").toSeq.map { user =>
Credentials(
"", // Empty realm credential - this one is actually used by Coursier!
"central.sonatype.com",
user,
Publish.env("SONATYPE_PASS")
)
}
ThisBuild / resolvers ++= Seq(
"Central Testing repository" at "https://central.sonatype.com/api/v1/publisher/deployments/download",
"Sonatype Snapshots" at "https://central.sonatype.com/repository/maven-snapshots/",
Resolver.typesafeRepo("releases")
)
lazy val iteratees = project.in(file("iteratees"))
lazy val `akka-stream` = project.in(file("akka-stream"))
lazy val `pekko-stream` = project.in(file("pekko-stream"))
lazy val streaming = (project in file("."))
.settings(
Seq(
publish := ({}),
publishTo := None,
mimaPreviousArtifacts := Set.empty,
mimaFailOnNoPrevious := false,
libraryDependencies += (reactiveMongo % version.value % Provided)
.exclude("com.typesafe.akka", "*")
) ++ Release.settings
)
.aggregate(iteratees, `akka-stream`, `pekko-stream`)
.enablePlugins(ScalaUnidocPlugin)
.disablePlugins(HighlightExtractorPlugin)