[
https://issues.apache.org/jira/browse/KAFKA-15494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891973#comment-17891973
]
Said BOUDJELDA commented on KAFKA-15494:
----------------------------------------
[~gharris1727] in progress
> Remove deprecated calls in build.gradle for preparing future upgrades
> ---------------------------------------------------------------------
>
> Key: KAFKA-15494
> URL: https://issues.apache.org/jira/browse/KAFKA-15494
> Project: Kafka
> Issue Type: Improvement
> Reporter: Said BOUDJELDA
> Assignee: Said BOUDJELDA
> Priority: Major
>
> 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
>
> {code:java}
> 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.) {code}
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)