Commit ef53866
authored
Target Android 15 (API 35) for Play upload (#26)
* Target Android 15 (API 35) for Play upload and bump version code to 2
Google Play now requires new apps to target at least API level 35.
Set targetSdk to 35 and compileSdk to 36 (API 35 is not installed
locally; the installed platform is 36, and compileSdk may exceed
targetSdk). Bump versionCode to 2 because the prior target 34 upload
consumed version code 1 on the internal testing track. Suppress the
AGP 8.5.0 unsupported compileSdk warning, which is non fatal.
* Pin Robolectric test runtime to SDK 34 for the targetSdk 35 bump
Robolectric 4.12.2 supports a maximum Android SDK of 34. Bumping
targetSdk to 35 for the Play upload made every un-annotated Robolectric
suite fail to initialize with targetSdkVersion=35 > maxSdkVersion=34,
turning 10 Compose UI suites red. Pinning the test runtime to SDK 34 via
robolectric.properties keeps the suite green while the app still ships
targetSdk 35. Suite back to 483 passing, 0 failures, 4 skipped.1 parent 2580f93 commit ef53866
3 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
0 commit comments