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 9533d788d8e KAFKA-20553 Prevent modules from depending on core test
output (#22564)
9533d788d8e is described below
commit 9533d788d8ec0e955ee5caeeb9d6e36cd220fa7d
Author: majialong <[email protected]>
AuthorDate: Sat Jul 25 07:54:19 2026 +0800
KAFKA-20553 Prevent modules from depending on core test output (#22564)
This patch adds core to `protectedModules` to prevent modules from
depending directly on `core.sourceSets.test.output.`
The existing dependencies were removed in separate PRs. This validation
prevents them from being reintroduced and helps unblock the upgrade to
Gradle 9.5+.
Reviewers: Chia-Ping Tsai <[email protected]>
---
build.gradle | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.gradle b/build.gradle
index 6a4f33106b5..bc5823ba56f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4134,6 +4134,7 @@ gradle.projectsEvaluated {
'metadata': ':metadata',
'raft': ':raft',
'connect/runtime': ':connect:runtime',
+ 'core': ':core',
]
allprojects { proj ->
proj.configurations.all { config ->