When running Gradle with the --warning-mode all option, you will get a deprecation warning from the Chaquopy Gradle plugin:
The org.gradle.util.VersionNumber 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.6/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
This probably comes from the checkAgpVersion function from this file:
fun checkAgpVersion() {
val version = VersionNumber.parse(
findPlugin("com.android.tools.build", "gradle").version)
val minVersion = VersionNumber.parse(Common.MIN_AGP_VERSION)
if (version < minVersion) {
throw GradleException(
"This version of Chaquopy requires Android Gradle plugin version " +
"$minVersion or later. Please edit the version of " +
"com.android.application, com.android.library or " +
"com.android.tools.build:gradle in your top-level build.gradle " +
"file. See https://chaquo.com/chaquopy/doc/current/versions.html.")
}
}
When running Gradle with the
--warning-mode alloption, you will get a deprecation warning from the Chaquopy Gradle plugin:This probably comes from the checkAgpVersion function from this file: