Commit 83d86bf
fix(ci): Fallback to AGP release notes for Gradle version lookup (#1128)
* fix(ci): Fallback to AGP release notes for Gradle version lookup
When an AGP version (e.g. 9.2.0) is not yet listed in the compatibility
table at about-agp, fetch the minimum Gradle version from the AGP
release notes page instead of falling back to the latest table entry.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): Format script and add Kotlin 2.3.10 for Gradle 9.5+
AGP 9.2.0-alpha06 depends on Kotlin 2.3.10, so Gradle 9.5+ needs to
use that version instead of 2.1.0 to avoid dependency resolution
conflicts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): Use pre-release key for Kotlin 2.3.10 Gradle mapping
9.5.0-milestone-5 < 9.5.0 in semver (pre-releases have lower
precedence), so use 9.5.0-0 as the map key to ensure milestone
versions match.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): Try Kotlin 2.3.0 for Gradle 9.5+
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): Dynamically set Kotlin language version based on compiler
Kotlin 2.3+ dropped support for language version 1.8. Use 2.0 when
building with Kotlin 2.3+, otherwise keep 1.8.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): Continue searching tables when version parse fails in release notes
Fixed-issues tables can have cells like "Android Gradle Plugin" that
match the "Gradle" check but aren't version strings. Continue the loop
instead of returning null so the actual compatibility table is found.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): Validate table headers and match exact "Gradle" cell in release notes
Skip tables without "version" in headers (e.g. fixed-issues tables)
and match cells[0] exactly as "Gradle" instead of contains-check to
avoid false matches like "Android Gradle Plugin".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* compile against a static AGP version
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8d98ebc commit 83d86bf
3 files changed
Lines changed: 58 additions & 15 deletions
File tree
- .github/workflows
- plugin-build
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
90 | | - | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 132 | | |
136 | 133 | | |
137 | 134 | | |
| |||
346 | 343 | | |
347 | 344 | | |
348 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
349 | 386 | | |
350 | 387 | | |
351 | 388 | | |
0 commit comments