Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update protoc version #305

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Changes from all 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
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ publish / skip := true

sonatypeProfileName := "com.thesamet"

def protobufJava = "com.google.protobuf" % "protobuf-java" % "3.24.4"

inThisBuild(
List(
organization := "com.thesamet.scalapb",
Expand All @@ -26,7 +28,7 @@ inThisBuild(
url("https://www.thesamet.com")
)
),
PB.protocVersion := "3.15.6"
PB.protocVersion := protobufJava.revision
)
)

Expand All @@ -44,6 +46,7 @@ lazy val core = projectMatrix
.settings(
name := "scalapb-validate-core",
libraryDependencies ++= Seq(
protobufJava,
"com.thesamet.scalapb.common-protos" %% "pgv-proto-scalapb_0.11" % (pgvVersion + "-0"),
"com.thesamet.scalapb.common-protos" %% "pgv-proto-scalapb_0.11" % (pgvVersion + "-0") % "protobuf",
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapbVersion % "protobuf"
Expand Down Expand Up @@ -88,6 +91,7 @@ lazy val codeGen = projectMatrix
buildInfoPackage := "scalapb.validate.compiler",
name := "scalapb-validate-codegen",
libraryDependencies ++= Seq(
protobufJava,
"com.thesamet.scalapb" %% "compilerplugin" % scalapbVersion,
// scalapb-runtime does not gent automatically added since we do not have Scala gen,
// and we want to make sure that a possibly older runtime (with different scalapb.proto)
Expand Down
Loading