This is an automated email from the ASF dual-hosted git repository.

fchen pushed a commit to branch branch-0.4
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/branch-0.4 by this push:
     new 671073d93 [CELEBORN-1666] Bump scala-protoc from 1.0.6 to 1.0.7
671073d93 is described below

commit 671073d931dabd2320fa4ff172a87f927ad39b49
Author: Fu Chen <[email protected]>
AuthorDate: Thu Oct 24 11:16:37 2024 +0800

    [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 <[email protected]>
    Signed-off-by: Fu Chen <[email protected]>
    (cherry picked from commit 3b9c2f04e7093b996a1273a7769f6e01bcff882f)
    Signed-off-by: Fu Chen <[email protected]>
---
 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 767f917df..73e3e28e8 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 235aefd80..f6bb04178 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")

Reply via email to