Commit 2cc5f5f
ci: disable Gradle config cache at the property level (fix JS NPM config-time resolution)
CI's Build & Test failed with:
java.lang.RuntimeException: Configuration 'jsTestNpmAggregated' was resolved
during configuration time.
Root cause (gradle#31483): KGP's KotlinPackageJsonTask resolves the JS
`*NpmAggregated` configs at configuration time; AGP's DependencyResolutionChecks
— installed when the Gradle configuration cache feature is ENABLED — rejects
that on a cold CI configuration. build.yml passes `--no-configuration-cache`,
but ci-gradle.properties set `org.gradle.configuration-cache=true`, so the check
was still installed and the CLI override did not reliably suppress it (the
failure is intermittent: it surfaces on cold-config task-graph traversal, which
is why earlier runs went green).
Set `org.gradle.configuration-cache=false` in the CI gradle.properties so the
feature (and thus AGP's strict check) is genuinely off in CI, matching build.yml's
documented intent. Local dev keeps config cache ON via the repo gradle.properties.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 769c667 commit 2cc5f5f
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
0 commit comments