Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ lazy val codegen = Project(id = akkaGrpcCodegenId, base = file("codegen"))
buildInfoKeys += "akkaVersion" → Dependencies.Versions.akka,
buildInfoKeys += "akkaHttpVersion" → Dependencies.Versions.akkaHttp,
buildInfoKeys += "grpcVersion" → Dependencies.Versions.grpc,
buildInfoKeys += "googleProtobufVersion" → Dependencies.Versions.googleProtobuf,
buildInfoPackage := "akka.grpc.gen",
artifact in (Compile, assembly) := {
val art = (artifact in (Compile, assembly)).value
Expand Down
4 changes: 3 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ object Dependencies {
val akkaHttpBinary = "10.2"

val grpc = "1.37.0" // checked synced by GrpcVersionSyncCheckPlugin
// Even referenced explicitly in the sbt-plugin's sbt-tests
val googleProtobuf = "3.15.8"

val scalaTest = "3.1.4"

Expand Down Expand Up @@ -73,7 +75,7 @@ object Dependencies {
}

object Protobuf {
val googleCommonProtos = "com.google.protobuf" % "protobuf-java" % "3.15.8" % "protobuf"
val googleCommonProtos = "com.google.protobuf" % "protobuf-java" % Versions.googleProtobuf % "protobuf"
}

object Plugins {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ javacOptions += "-Xdoclint:all"

akkaGrpcGeneratedLanguages := Seq(AkkaGrpc.Java)

libraryDependencies += "com.google.protobuf" % "protobuf-java" % "3.15.8" % "protobuf"
libraryDependencies += "com.google.protobuf" % "protobuf-java" % akka.grpc.gen.BuildInfo.googleProtobufVersion % "protobuf"
Comment thread
ennru marked this conversation as resolved.