dejan2609 commented on PR #19513:
URL: https://github.com/apache/kafka/pull/19513#issuecomment-3172464870

   **So, just to sum it up:** Gradle 9 task **_:core:releaseTarGz_** (for a 
binary tgz file creation) fails :x::
   
   ```
   :core:releaseTarGz (Thread[Execution worker Thread 3,5,main]) started.
   
   > Task :core:releaseTarGz FAILED
   
   [Incubating] Problems report is available at: 
file:///home/dejan/kafka/build/reports/problems/problems-report.html
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':core:releaseTarGz'.
   > Resolution of the configuration ':tools:tools-api:runtimeClasspath' was 
attempted without an exclusive lock. This is unsafe and not allowed.
   ```
   
   **What needs to be done** :bulb:: it seems to me that Gradle 
[producer-consumer 
concept](https://docs.gradle.org/9.0.0/userguide/declaring_dependencies.html#sub:producers-vs-consumers-basics)
 needs to be applied for Kafka submodules.
   
   **Other related links (mental note for me)** :ledger::
   - 
https://docs.gradle.org/9.0.0/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors
   - 
https://docs.gradle.org/9.0.0/userguide/multi_project_builds.html#sec:depending_on_output_of_another_project
   - 
https://docs.gradle.org/9.0.0/samples/sample_cross_project_output_sharing.html
   - 
https://docs.gradle.org/9.0.0/userguide/upgrading_major_version_9.html#packaging_and_artifact_behavior_changes
   
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to