From 671073d931dabd2320fa4ff172a87f927ad39b49 Mon Sep 17 00:00:00 2001 From: Fu Chen Date: Thu, 24 Oct 2024 11:16:37 +0800 Subject: [PATCH] [CELEBORN-1666] Bump scala-protoc from 1.0.6 to 1.0.7 ### What changes were proposed in this pull request? As title ### Why are the changes needed? The version 1.0.6 is outdated and not available on Maven Central. https://mvnrepository.com/artifact/com.thesamet/sbt-protoc_2.12_1.0 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass CI Closes #2842 from cfmcgrady/sbt-protoc. Authored-by: Fu Chen Signed-off-by: Fu Chen (cherry picked from commit 3b9c2f04e7093b996a1273a7769f6e01bcff882f) Signed-off-by: Fu Chen --- project/CelebornBuild.scala | 2 +- project/plugins.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/CelebornBuild.scala b/project/CelebornBuild.scala index 767f917df81..73e3e28e804 100644 --- a/project/CelebornBuild.scala +++ b/project/CelebornBuild.scala @@ -273,7 +273,7 @@ object CelebornCommonSettings { PB.protocVersion := Dependencies.protocVersion, // set proto sources path Compile / PB.protoSources := Seq(sourceDirectory.value / "main" / "proto"), - Compile / PB.targets := Seq(PB.gens.java -> (Compile / sourceManaged).value) + Compile / PB.targets := Seq(PB.gens.java(Dependencies.protocVersion) -> (Compile / sourceManaged).value) ) lazy val commonUnitTestDependencies = Seq( diff --git a/project/plugins.sbt b/project/plugins.sbt index 235aefd8034..f6bb04178e9 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -17,6 +17,6 @@ addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.1") -addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6") +addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.7") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")