Skip to content

Commit bc2f23b

Browse files
authored
KAFKA-19750 Address the compileClasspath resolution warnings for the task (#20628)
`tools-api` is already in core module runtime path, so adding it to `releaseTarGz` causes the resolution conflicts, which will be a fatal error in gradle 9 Reviewers: Ken Huang <[email protected]>, TengYao Chi <[email protected]>, Chia-Ping Tsai <[email protected]>
1 parent 0dd8471 commit bc2f23b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,6 +1039,8 @@ project(':core') {
10391039
implementation project(':transaction-coordinator')
10401040
implementation project(':metadata')
10411041
implementation project(':storage:storage-api')
1042+
// tools-api is automatically included in releaseTarGz via core's runtimeClasspath.
1043+
// If removed from here, remember to explicitly add it back in the releaseTarGz task.
10421044
implementation project(':tools:tools-api')
10431045
implementation project(':raft')
10441046
implementation project(':storage')
@@ -1261,8 +1263,6 @@ project(':core') {
12611263
from(project(':streams:test-utils').configurations.runtimeClasspath) { into("libs/") }
12621264
from(project(':streams:examples').jar) { into("libs/") }
12631265
from(project(':streams:examples').configurations.runtimeClasspath) { into("libs/") }
1264-
from(project(':tools:tools-api').jar) { into("libs/") }
1265-
from(project(':tools:tools-api').configurations.runtimeClasspath) { into("libs/") }
12661266
duplicatesStrategy 'exclude'
12671267
}
12681268

0 commit comments

Comments
 (0)