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

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


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

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

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

diff --git a/build.gradle b/build.gradle
index 488a2ae00e0..c43b9c1e0b4 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 {

Reply via email to