[
https://issues.apache.org/jira/browse/KAFKA-19750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-19750.
------------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> Address the compileClasspath resolution warnings for the `releaseTarGz` task
> ----------------------------------------------------------------------------
>
> Key: KAFKA-19750
> URL: https://issues.apache.org/jira/browse/KAFKA-19750
> Project: Kafka
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Kuan Po Tseng
> Priority: Major
> Fix For: 4.2.0
>
>
>
> {code:java}
> [warn] Resolution
> of the configuration :tools:tools-api:runtimeClasspath was attempted
> from a context different than the project context. Have a look at the
> documentation to understand why this is a problem and how it can be
> resolved. This behavior has been deprecated. (1) - [warn] Resolution
> of the configuration :tools:tools-api:runtimeClasspath was attempted
> from a context different than the project context. Have a look at the
> documentation to understand why this is a problem and how it can be
> resolved. This behavior has been deprecated.This will fail with an error in
> Gradle 9.0. - Locations- `<undefined>`- `:core:releaseTarGz` {code}
> The issue was introduced by [https://github.com/apache/kafka/pull/13454]
>
> `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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)