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

showuon 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 a9b4b88e54a MINOR: Remove unneccessary version from excluded 
dependencies of clients (#15804)
a9b4b88e54a is described below

commit a9b4b88e54a5e70b0b17f827fb3a97237d18c66a
Author: Gantigmaa Selenge <39860586+tinasele...@users.noreply.github.com>
AuthorDate: Mon Apr 29 09:58:12 2024 +0100

    MINOR: Remove unneccessary version from excluded dependencies of clients 
(#15804)
    
    Small cleanup: removed version when excluding shaded dependencies from 
clients library as it's not needed.
    
    Reviewers: Luke Chen <show...@gmail.com>, Chia-Ping Tsai 
<chia7...@gmail.com>
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 3d24bdea8c0..7cef6402c6a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1501,7 +1501,7 @@ project(':clients') {
     // dependencies excluded from the final jar, since they are declared as 
runtime dependencies
     dependencies {
       project.configurations.shadowed.allDependencies.each {
-        exclude(dependency(it.group + ':' + it.name + ':' + it.version))
+        exclude(dependency(it.group + ':' + it.name))
       }
       // exclude proto files from the jar
       exclude "**/opentelemetry/proto/**/*.proto"

Reply via email to