You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/03/17 18:50:18 UTC

(spark-kubernetes-operator) branch main updated: [SPARK-51526] Upgrade Gradle shadow plugin to 8.3.6

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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 172c5b5  [SPARK-51526] Upgrade Gradle shadow plugin to 8.3.6
172c5b5 is described below

commit 172c5b50a95516d00ac05f3d31a5caa65015fbc3
Author: Jacob Salway <ja...@gmail.com>
AuthorDate: Mon Mar 17 11:50:06 2025 -0700

    [SPARK-51526] Upgrade Gradle shadow plugin to 8.3.6
    
    ### What changes were proposed in this pull request?
    
    Migrate the Gradle plugin given it's changed ownership and upgrade Gradle shadow plugin to 8.3.6
    
    ### Why are the changes needed?
    
    https://github.com/GradleUp/shadow/issues/908
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    Tested the build locally
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #168 from jacobsalway/SPARK-45923.
    
    Authored-by: Jacob Salway <ja...@gmail.com>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 gradle/libs.versions.toml   | 4 ++--
 spark-operator/build.gradle | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 71f08b7..d766f1f 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -37,7 +37,7 @@ spotbugs-plugin = "6.0.17"
 spotless-plugin = "6.25.0"
 
 # Packaging
-shadow-jar-plugin = "8.1.1"
+shadow-jar-plugin = "8.3.6"
 
 [libraries]
 kubernetes-client = { group = "io.fabric8", name = "kubernetes-client", version.ref = "fabric8" }
@@ -67,4 +67,4 @@ junit-platform-launcher = { group = "org.junit.platform", name = "junit-platform
 powermock-core = { group = "org.powermock", name = "powermock-core", version.ref = "powermock"}
 spotbugs-gradle-plugin = { group = "com.github.spotbugs.snom", name = "spotbugs-gradle-plugin", version.ref = "spotbugs-plugin" }
 spotless-plugin-gradle = { group = "com.diffplug.spotless", name = "spotless-plugin-gradle", version.ref = "spotless-plugin" }
-shadow = { group = "com.github.johnrengelman", name = "shadow", version.ref = "shadow-jar-plugin"}
+shadow = { group = "com.gradleup.shadow", name = "shadow-gradle-plugin", version.ref = "shadow-jar-plugin"}
diff --git a/spark-operator/build.gradle b/spark-operator/build.gradle
index 4ab138a..1d41733 100644
--- a/spark-operator/build.gradle
+++ b/spark-operator/build.gradle
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-apply plugin: 'com.github.johnrengelman.shadow'
+apply plugin: 'com.gradleup.shadow'
 
 dependencies {
   implementation project(":spark-operator-api")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org