I've upgraded to gradle 8.3
I'm seeing these warnings and I'm trying to get rid of them:
Copy code
> Task :buildSrc:generatePrecompiledScriptPluginAccessors
The Project.getConvention() method 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.3/userguide/upgrading_version_8.html#deprecated_access_to_conventions>
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.3/userguide/upgrading_version_8.html#deprecated_access_to_conventions>
The org.gradle.api.plugins.JavaPluginConvention 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.3/userguide/upgrading_version_8.html#java_convention_deprecation>
I'm using kotlin DSL script for my build files.
As soon as I add:
This issue also arise cause we using spring boot version 2.4.x. Isn't there another way to configure the plugin without warning (and that could work with newer version of grade 9)?
v
Vampire
08/18/2023, 1:37 PM
If the plugin is using the deprecated stuff, there is not much you can do besides using a newer version that gets rid of the deprecations, or monkey-patching the plugin to do that fix yourself.