You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/10/01 08:27:00 UTC
[jira] [Created] (KAFKA-19750) Address the compileClasspath resolution warnings for the `releaseTarGz` task
Chia-Ping Tsai created KAFKA-19750:
--------------------------------------
Summary: 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: Chia-Ping Tsai
{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)