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?
Thanks for maintaining this plugin!
Additional documentation
https://docs.gradle.org/8.14.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions
https://docs.gradle.org/8.14.1/userguide/upgrading_version_8.html#build_identifier_name_and_current_deprecation
Thank you!