You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by st...@apache.org on 2024/02/05 08:36:02 UTC

(kafka) branch 3.7 updated: MINOR: Downgrade version of shadow jar plugin (#15308)

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

stanislavkozlovski pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/3.7 by this push:
     new 2f26e30ce31 MINOR: Downgrade version of shadow jar plugin (#15308)
2f26e30ce31 is described below

commit 2f26e30ce315f5ff67a4fb9bd2cbd69be1be6404
Author: Apoorv Mittal <am...@confluent.io>
AuthorDate: Fri Feb 2 23:02:03 2024 +0530

    MINOR: Downgrade version of shadow jar plugin (#15308)
    
    
    Reviewers: Mickael Maison <mi...@gmail.com>, Andrew Schofield <as...@confluent.io>
---
 build.gradle | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index c758ac9657d..e7e5253afbd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,7 +44,9 @@ plugins {
   // be dropped from gradle/resources/dependencycheck-suppressions.xml
   id "com.github.spotbugs" version '5.1.3' apply false
   id 'org.scoverage' version '7.0.1' apply false
-  id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
+  // Updating the shadow plugin version to 8.1.1 causes issue with signing and publishing the shadowed
+  // artifacts - see https://github.com/johnrengelman/shadow/issues/901
+  id 'com.github.johnrengelman.shadow' version '8.1.0' apply false
   id 'com.diffplug.spotless' version '6.14.0' apply false // 6.14.1 and newer require Java 11 at compile time, so we can't upgrade until AK 4.0
 }
 
@@ -302,7 +304,7 @@ subprojects {
             from components.java
           } else {
             apply plugin: 'com.github.johnrengelman.shadow'
-            artifact shadowJar
+            project.shadow.component(mavenJava)
           }
 
           afterEvaluate {