Commit 4670d89
build(android): Pin AAR minCompileSdk to minSdk (#5823)
* build(android): Pin AAR minCompileSdk to minSdk
AGP 9 changed the default so a published library's AAR metadata
minCompileSdk mirrors its compileSdk, which we recently bumped to 37.
That would force every consumer of the Android SDK onto compileSdk 37.
Pin minCompileSdk to our minSdk for all published Android library
modules so consumers stay free to compile against any SDK we support,
preserving the pre-AGP-9 behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 023ef00 commit 4670d89
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
| |||
0 commit comments