/ecc:gradle-buildfrom ecc
Fixes Gradle build errors for Android and Kotlin Multiplatform projects by detecting configuration, parsing errors, and applying targeted fixes in a loop.
Ships in ecc. Installing the plugin adds it to Claude Code.
Incrementally fix Gradle build and compilation errors for Android and Kotlin Multiplatform projects.
Identify the project type and run the appropriate build:
| Indicator | Build Command |
|---|---|
build.gradle.kts + composeApp/ (KMP) | ./gradlew composeApp:compileKotlinMetadata 2>&1 |
build.gradle.kts + app/ (Android) | ./gradlew app:compileDebugKotlin 2>&1 |
settings.gradle.kts with modules | ./gradlew assemble 2>&1 |
| Detekt configured | ./gradlew detekt 2>&1 |
Also check gradle.properties and local.properties for configuration.
For each error:
build.gradle.ktsStop and ask the user if:
Report:
| Error | Fix |
|---|---|
Unresolved reference in commonMain | Check if the dependency is in commonMain.dependencies {} |
| Expect declaration without actual | Add actual implementation in each platform source set |
| Compose compiler version mismatch | Align Kotlin and Compose compiler versions in libs.versions.toml |
| Duplicate class | Check for conflicting dependencies with ./gradlew dependencies |
| KSP error | Run ./gradlew kspCommonMainKotlinMetadata to regenerate |
| Configuration cache issue | Check for non-serializable task inputs |
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub irixzafra/ecc --plugin ecc92 commands in this plugin
/asideAside CommandAnswer a quick side question without interrupting or losing context from the current task. Resume work automatically after answering./auto-updateAuto UpdatePull the latest ECC repo changes and reinstall the current managed targets./build-fixBuild and FixDetect the project build system and incrementally fix build/type errors with minimal safe changes./checkpointCheckpoint CommandCreate, verify, or list workflow checkpoints after running verification checks./code-reviewCode ReviewCode review — local uncommitted changes or GitHub PR (pass PR number/URL for PR mode)/cost-reportCost ReportGenerate a local Claude Code cost report from the ECC cost-tracker metrics log.97 plugins ship this exact command · first indexed Mar 11, 2026
Other plugins' commands for the same job