forked from permutive-engineering/fs2-pubsub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
51 lines (44 loc) · 1.64 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
ThisBuild / tlBaseVersion := "0.22" // your current series x.y
ThisBuild / organization := "com.permutive"
ThisBuild / organizationName := "Permutive"
ThisBuild / organizationHomepage := Some(url("https://github.com/permutive"))
ThisBuild / licenses := Seq(License.Apache2)
ThisBuild / developers := List(
tlGitHubDev("cremboc", "Paulius Imbrasas"),
tlGitHubDev("TimWSpence", "Tim Spence"),
tlGitHubDev("bastewart", "Ben Stewart"),
tlGitHubDev("travisbrown", "Travis Brown")
)
ThisBuild / startYear := Some(2018)
ThisBuild / tlSonatypeUseLegacyHost := true
val Scala213 = "2.13.13"
ThisBuild / crossScalaVersions := Seq(Scala213, "2.12.19", "3.3.3")
ThisBuild / scalaVersion := Scala213 // the default Scala
ThisBuild / tlJdkRelease := Some(11)
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))
ThisBuild / tlCiDependencyGraphJob := false
lazy val root = tlCrossRootProject
.aggregate(common, http, grpc)
lazy val common = project
.in(file("fs2-google-pubsub"))
.settings(
name := "fs2-google-pubsub",
libraryDependencies ++= Dependencies.commonDependencies,
libraryDependencies ++= Dependencies.testsDependencies
)
lazy val http = project
.in(file("fs2-google-pubsub-http"))
.dependsOn(common)
.settings(
name := "fs2-google-pubsub-http",
libraryDependencies ++= Dependencies.httpDependencies,
libraryDependencies ++= Dependencies.testsDependencies
)
lazy val grpc = project
.in(file("fs2-google-pubsub-grpc"))
.dependsOn(common)
.settings(
name := "fs2-google-pubsub-grpc",
libraryDependencies ++= Dependencies.grpcDependencies,
libraryDependencies ++= Dependencies.testsDependencies
)