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
When running ./gradlew wrapper --gradle-version X.Y.Z, the com.android.internal.version-check plugin checks the current Gradle version against a minimum required version.
If the current Gradle version is below the minimum, the plugin throws an error and prevents the wrapper task from updating the Gradle wrapper.
This behavior is inconsistent with the expected behavior when using the wrapper task to update the Gradle wrapper.
Therefore we believe that the plugins are being configured during the wrapper step, which in turn disallows updating the plugin for Android projects.
Expected Behavior
When running ./gradlew wrapper --gradle-version X.Y.Z, the com.android.internal.version-check plugin should not enforce a minimum Gradle version during startup.
The Gradle wrapper should be allowed to update to the desired version regardless of the current Gradle version.
Current Behavior
When running
./gradlew wrapper --gradle-version X.Y.Z
, thecom.android.internal.version-check
plugin checks the current Gradle version against a minimum required version.If the current Gradle version is below the minimum, the plugin throws an error and prevents the wrapper task from updating the Gradle wrapper.
This behavior is inconsistent with the expected behavior when using the wrapper task to update the Gradle wrapper.
Therefore we believe that the plugins are being configured during the
wrapper
step, which in turn disallows updating the plugin for Android projects.Expected Behavior
When running
./gradlew wrapper --gradle-version X.Y.Z
, thecom.android.internal.version-check
plugin should not enforce a minimum Gradle version during startup.The Gradle wrapper should be allowed to update to the desired version regardless of the current Gradle version.
Context (optional)
https://issuetracker.google.com/issues/372269616
Self-contained Reproducer Project
./gradlew wrapper --gradle-version 8.10.2
gradle-repro.zip
Gradle version
8.7 / 8.10.2
Build scan URL (optional)
No response
Your Environment (optional)
No response
The text was updated successfully, but these errors were encountered: