mirror of https://github.com/apache/kafka.git
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 <s7133700@gmail.com>, TengYao Chi <frankvicky@apache.org>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
0dd8471174
commit
bc2f23b879
|
@ -1039,6 +1039,8 @@ project(':core') {
|
|||
implementation project(':transaction-coordinator')
|
||||
implementation project(':metadata')
|
||||
implementation project(':storage:storage-api')
|
||||
// tools-api is automatically included in releaseTarGz via core's runtimeClasspath.
|
||||
// If removed from here, remember to explicitly add it back in the releaseTarGz task.
|
||||
implementation project(':tools:tools-api')
|
||||
implementation project(':raft')
|
||||
implementation project(':storage')
|
||||
|
@ -1261,8 +1263,6 @@ project(':core') {
|
|||
from(project(':streams:test-utils').configurations.runtimeClasspath) { into("libs/") }
|
||||
from(project(':streams:examples').jar) { into("libs/") }
|
||||
from(project(':streams:examples').configurations.runtimeClasspath) { into("libs/") }
|
||||
from(project(':tools:tools-api').jar) { into("libs/") }
|
||||
from(project(':tools:tools-api').configurations.runtimeClasspath) { into("libs/") }
|
||||
duplicatesStrategy 'exclude'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue