Gradle Config Resolved Too Early

Diagnosing Gradle failures of the form "cannot mutate a configuration after its child configuration was resolved" — why the message names the configuration you touched rather than the plugin that resolved it, how to bisect plugins against a minimal working template, and which fixes are documented dead ends. Reach for it when adding a perfectly ordinary dependency line makes the build refuse to configure, and rewriting that line every possible way changes nothing.

maxrave-dev fe5921d 6.8 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/gradle-config-resolved-too-early commit fe5921decc

Frequently asked questions

npx skillmds@latest add maxrave-dev/gradle-config-resolved-too-early