Commit ec6c0b0
ci: opt out of AGP config-time dependency-resolution check (real fix for JS NPM)
My previous commit (config-cache=false) was the wrong lever — the check still
fired. The throw is com.android.build.gradle.internal.DependencyResolutionChecks
(registerDependencyCheck), which AGP installs independent of the config cache and
which rejects KGP's KotlinPackageJsonTask resolving the Kotlin/JS + Wasm
`*NpmAggregated` configs at configuration time (gradle#31483). transformers has
real JS npm deps (ktor-client-js, kotlinx-browser) so this resolution happens;
the engine repo runs the same `assemble allTests` green only because it has none.
Revert config cache to true (matches the engine CI; not the cause) and set
`android.dependencyResolutionAtConfigurationTime.disallow=false` to opt out of
AGP's check, letting the JS npm resolution proceed as it does off-CI.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 2cc5f5f commit ec6c0b0
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 7 | + | |
15 | 8 | | |
16 | 9 | | |
17 | 10 | | |
| |||
23 | 16 | | |
24 | 17 | | |
25 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments