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

chia7712 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 260a39724d3 MINOR: Remove redundant bcpkix test dependency from tools 
module (#22868)
260a39724d3 is described below

commit 260a39724d3d82a11957ea4689f5ca8f00e60ad3
Author: red-flames <[email protected]>
AuthorDate: Mon Jul 20 06:14:12 2026 +0800

    MINOR: Remove redundant bcpkix test dependency from tools module (#22868)
    
    Since tools depends on `testFixtures(project(':clients'))`, which
    declares testFixturesImplementation libs.bcpkix, bcpkix is already
    provided transitively on the test classpath. The explicit
    testImplementation libs.bcpkix in tools is therefore redundant and can
    be removed.
    
    Reviewers: Chia-Ping Tsai <[email protected]>, Ken Huang
    <[email protected]>
---
 build.gradle | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/build.gradle b/build.gradle
index 2edb462b872..d982af0a8e9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2501,7 +2501,6 @@ project(':storage') {
     testImplementation libs.jacksonDataformatYaml
     testImplementation libs.junitJupiter
     testImplementation libs.mockitoCore
-    testImplementation libs.bcpkix
     testImplementation testLog4j2Libs
 
     testRuntimeOnly runtimeTestLibs
@@ -2700,7 +2699,6 @@ project(':tools') {
     testImplementation libs.junitJupiter
     testImplementation libs.mockitoCore
     testImplementation libs.mockitoJunitJupiter // supports MockitoExtension
-    testImplementation libs.bcpkix // required by the clients test module, but 
we have to specify it explicitly as gradle does not include the transitive test 
dependency automatically
     testImplementation(libs.jfreechart) {
       exclude group: 'junit', module: 'junit'
     }
@@ -2862,7 +2860,6 @@ project(':streams') {
     testImplementation testFixtures(project(':clients'))
     testImplementation libs.jacksonDataformatYaml
     testImplementation libs.junitJupiter
-    testImplementation libs.bcpkix
     testImplementation libs.hamcrest
     testImplementation libs.mockitoCore
     testImplementation libs.mockitoJunitJupiter // supports MockitoExtension
@@ -3065,7 +3062,6 @@ project(':streams:integration-tests') {
     testImplementation project(':test-common:test-common-runtime')
     testImplementation project(':tools')
     testImplementation project(':transaction-coordinator')
-    testImplementation libs.bcpkix
     testImplementation libs.hamcrest
     testImplementation libs.junitJupiter
     testImplementation libs.junitPlatformSuiteEngine // supports suite test
@@ -3984,7 +3980,6 @@ project(':connect:basic-auth-extension') {
     implementation libs.jakartaRsApi
     implementation libs.jakartaAnnotationApi
 
-    testImplementation libs.bcpkix
     testImplementation libs.mockitoCore
     testImplementation libs.junitJupiter
     testImplementation testLog4j2Libs

Reply via email to