You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the issue:
When applying jib plugin to a project using gradle 8.2 (with --stacktrace enabled to show exact location) the following warnings are emitted:
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.2/userguide/upgrading_version_8.html#deprecated_access_to_conventions
at org.gradle.api.internal.project.DefaultProject.getConvention(DefaultProject.java:593)
at com.google.cloud.tools.jib.gradle.JibPlugin.lambda$apply$9(JibPlugin.java:187)
...
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/userguide/upgrading_version_8.html#deprecated_access_to_conventions
at org.gradle.internal.extensibility.DefaultConvention.logConventionDeprecation(DefaultConvention.java:398)
at org.gradle.internal.extensibility.DefaultConvention.findPlugin(DefaultConvention.java:100)
at org.gradle.internal.extensibility.DefaultConvention.getPlugin(DefaultConvention.java:89)
at com.google.cloud.tools.jib.gradle.JibPlugin.lambda$apply$9(JibPlugin.java:188)
...
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.2/userguide/upgrading_version_8.html#java_convention_deprecation
at org.gradle.api.plugins.internal.NaggingJavaPluginConvention.logDeprecation(NaggingJavaPluginConvention.java:185)
at org.gradle.api.plugins.internal.NaggingJavaPluginConvention.getSourceSets(NaggingJavaPluginConvention.java:154)
at com.google.cloud.tools.jib.gradle.JibPlugin.lambda$apply$9(JibPlugin.java:189)
Environment:
Description of the issue:
When applying jib plugin to a project using gradle 8.2 (with
--stacktrace
enabled to show exact location) the following warnings are emitted:This appears to be due to loading the convetion here: https://github.com/GoogleContainerTools/jib/blob/master/jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/JibPlugin.java#L187
Expected behavior:
Jib gradle plugin does not show deprecation warnings
Steps to reproduce:
The text was updated successfully, but these errors were encountered: