From 4e47e56808b783a3caaa9f4cbe38443b7fac891c Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Fri, 20 Oct 2023 13:21:42 +0900 Subject: [PATCH] Update protoc version (#425) --- build.sbt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 1ba8a29..e3398b4 100644 --- a/build.sbt +++ b/build.sbt @@ -17,20 +17,22 @@ ThisBuild / scalacOptions ++= Seq("-deprecation") ++ { ThisBuild / publishTo := sonatypePublishToBundle.value +val protobufJava = "com.google.protobuf" % "protobuf-java" % "3.24.4" + libraryDependencies ++= Seq( "com.thesamet.scalapb" %% "scalapb-runtime" % scalapbVersion, "com.thesamet.scalapb" %% "scalapb-runtime" % scalapbVersion % "protobuf,test", "org.scalatest" %% "scalatest" % "3.2.17" % "test", "org.scalatestplus" %% "scalacheck-1-17" % "3.2.17.0" % "test", - "com.google.protobuf" % "protobuf-java-util" % "3.21.12" % "test", - "com.google.protobuf" % "protobuf-java" % "3.21.12" % "protobuf", + "com.google.protobuf" % "protobuf-java-util" % protobufJava.revision % "test", + protobufJava % "protobuf", "org.json4s" %% "json4s-jackson-core" % "4.0.6" ) lazy val root = (project in file(".")) .settings( inConfig(Test)(sbtprotoc.ProtocPlugin.protobufConfigSettings), - PB.protocVersion := "3.11.4", + PB.protocVersion := protobufJava.revision, Compile / PB.targets := Nil, Test / PB.targets := Seq( PB.gens.java -> (Test / sourceManaged).value,