-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
41 lines (34 loc) · 1.21 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
Global / onChangedBuildSource := ReloadOnSourceChanges
javacOptions ++= List("-target", "8", "-source", "8")
sonatypeProfileName := "com.thesamet"
sonatypeBundleDirectory := (ThisBuild / baseDirectory).value / "target" / "sonatype-staging"
publish / skip := true
def commonProtos =
ProtosProject(
"com.google.api.grpc" % "proto-google-common-protos" % "2.9.6",
grpc = true,
protoPackage = "google",
buildNumber = 0
)
lazy val commonProtos09 = commonProtos.scalapb09
lazy val commonProtos10 = commonProtos.scalapb10
lazy val commonProtos11 = commonProtos.scalapb11
val cloudPubSub = ProtosProject(
"com.google.api.grpc" % "proto-google-cloud-pubsub-v1" % "1.102.20",
grpc = true,
protoPackage = "google",
buildNumber = 0
).dependsOn(commonProtos)
lazy val cloudPubSub09 = cloudPubSub.scalapb09
lazy val cloudPubSub10 = cloudPubSub.scalapb10
lazy val cloudPubSub11 = cloudPubSub.scalapb11
val pgvProto = ProtosProject(
"build.buf.protoc-gen-validate" % "pgv-java-stub" % "0.6.13",
grpc = false,
protoPackage = "validate",
packageName = Some("pgv-proto"),
buildNumber = 0
)
lazy val pgvProto09 = pgvProto.scalapb09
lazy val pgvProto10 = pgvProto.scalapb10
lazy val pgvProto11 = pgvProto.scalapb11