Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
On the purpose of preparing the future upgrades of Gradle wrapper, we need to get ride of the deprecated calls of certains methods as tasks registrations, this will make the future upgrades to Gradle 9 where plenty of methods are marked for removal for this future big release, that will for sure brings support for JDK 21
Running Gradle build with --warning-mode all reveals much warnings and much deprecations for removal, and we have to be prepared from now to the future changes
This is an example of deprecation warning
Build file '/Users/bmscomp/codes/kafka/build.gradle': line 3116 The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.2.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions at build_bpyr04xfzz0tpxxyqu97xn8xy$_run_closure58.doCall(/Users/bmscomp/codes/kafka/build.gradle:3116) (Run with --stacktrace to get the full stack trace of this deprecation warning.) at build_bpyr04xfzz0tpxxyqu97xn8xy.run(/Users/bmscomp/codes/kafka/build.gradle:3115) (Run with --stacktrace to get the full stack trace of this deprecation warning.)
Attachments
Issue Links
- is related to
-
KAFKA-16800 Resolve Gradle 9.0 deprecations
- Open