Commit c356167
authored
Adopt AGP 9 defaults + enable Gradle configuration cache (#62)
- Remove android.enableJetifier=true. 'gradlew checkJetifier' confirms no
module uses legacy android.support.* libraries, so Jetifier transforms
nothing. The flag is removed in AGP 10; omitting it adopts the default (false).
- Remove android.nonFinalResIds=false to adopt the AGP 9 default (true).
No Java 'switch (R.id.x)'/'case R.id.x:' usage exists (all switches are on
protocol/type/authType ints), so non-final R ids are safe. Flag removed in AGP 10.
- Enable org.gradle.configuration-cache=true. Verified: a clean
app:assembleOssDebug stores the entry, and a re-run reuses it (47s -> 1s)
with renameApksForOssDebug still producing the NekoBox-*-<abi>.apk files.
Both deprecation warnings that AGP 9 emitted are now gone.1 parent b23314d commit c356167
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments