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
Summary and context of the enhancement
Hello. This issue is created as a reminder, since we are relying on the plugin for our Android application, that Gradle is going to make some changes with their internal configuration for plugins.
The Convention plugin, previously used by Gradle, is in version 8.0 and higher already deprecated and it will be completely removed from version 9.0.
The org.gradle.api.plugins.Convention type has been deprecated and is scheduled to be removed in Gradle 9.
Suggested implementation
The Convention plugin should be replaced with Extension plugin, something like this:
val androidExtension = project.convention.getPlugin(AppExtension::class.java)
could be replaced with
val androidExtension = project.extensions.getByType(AppExtension::class.java)
This change ensures compatibility with future Gradle versions and prevents project build failures in upcoming releases.
Would you consider updating this in a future plugin release?