Status Update
Comments
km...@google.com <km...@google.com>
ga...@google.com <ga...@google.com>
ak...@google.com <ak...@google.com> #2
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 9
- Android Gradle Plugin 8.8.0-alpha09
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
ga...@google.com <ga...@google.com> #3
jf...@block.xyz <jf...@block.xyz> #4
bi...@google.com <bi...@google.com> #5
jf...@block.xyz <jf...@block.xyz> #6
je...@google.com <je...@google.com>
je...@google.com <je...@google.com> #7
je...@google.com <je...@google.com> #8
done, flag is android.disableMinimumPluginVersionCheck
hu...@google.com <hu...@google.com> #9
Hi Jerome, it looks like the change you mentioned in
an...@google.com <an...@google.com> #11
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2
- Android Gradle Plugin 8.8.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
We use a gradle conventions plugin to apply other plugins such as AGP, KGP, etc. which enforces the same version for all projects, so the version check doesn't provide much benefit to our build. It does however use a significant amount of memory to run due to its multiple uses of , so we disable it by setting
allprojects { }
ext["AGP_INTERNAL__MIN_PLUGIN_VERSION_CHECK_STARTED"] = true
in our rootbuild.gradle
.We currently use AGP 7.3.1, but this behavior is unchanged in all successive versions of AGP.
Cross-project configuration is a gradle anti-pattern and we have lint checks in our builds to explicitly forbid this due to the relatively severe performance consequences it has for our build.
The
AGP_INTERNAL__MIN_PLUGIN_VERSION_CHECK_STARTED
"hack" works but is a potentially fragile workaround as it is clearly not a "public" configuration option. Could AGP provide a formal property we could set to disable the minimum version checks? (e.g.android.disableMinimumPluginVersionCheck=true
)