Status Update
Comments
xa...@google.com <xa...@google.com> #2
You can actually reproduce with any small project. Just make the following changes:
compileSdk = 33
compileSdkExtension = 5
run assembleDebug
on the project.
ji...@google.com <ji...@google.com>
ga...@google.com <ga...@google.com>
mi...@google.com <mi...@google.com> #3
When comparing SDK versions, the extension is taken into account. In the compareTo
method, the extension level is provided for one version and not for the other. This causes the warnIfCompileSdkTooNew
in
The question I have is, should the warning still trigger but specify the extension as the reason for why? Or should the comparison ignore the extension so that the warning does not trigger at all?
au...@google.com <au...@google.com> #4
When I chatted with xav@, we thought that we should ignore the extension bit as all of these are incremental SDKs.
mi...@google.com <mi...@google.com>
mi...@google.com <mi...@google.com>
au...@google.com <au...@google.com> #5
Which build was it fixed in? Will the fix be in 8.1.0 stable?
mi...@google.com <mi...@google.com> #6
It was checked in last Tuesday (4/12) so yes I believe it will be.
cm...@google.com <cm...@google.com> #7
Cherrypick for AGP 8.1 is ag/23211216
Description
STEPS TO REPRODUCE:
android.suppressUnsupportedCompileSdk=UpsideDownCake,VanillaIceCream,33
ingradle.properties
./gradlew tasks
Expected
no warnings
Actual
warning of