I've upgraded to gradle 8.3 I'm seeing these warni...
# gradle
h
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:
Copy code
plugins {
    id("com.google.cloud.tools.jib")
}

jib {}
I get these warnings. What should I use? When I hover on
jib {}
I get the following:
Copy code
internal fun Project.jib(
    configure: Action<JibExtension>
): Unit
a
what version of Jib are you using?
s
Simply check if there’s a newer version of the plugin available, and if not, report the problem to the plugin authors.
1
It won’t prevent you from working for now, until you upgrade to Gradle 9 😄
h
jib version 3.3.2
a
h
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
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.
1