.agents/skills/gradle/SKILL.md
Use this skill for Micronaut framework maintainer work. Do not default to end-user app guidance.
Apply correct, source-backed Gradle changes in Micronaut repositories, using the micronaut-build plugin contracts and current Gradle best practices.
Current coverage target: repositories on Gradle major line 9.x.
For dependency-intelligence tasks (version freshness, stability, release cadence, CVE/license checks), use the embedded maven-tools MCP via skill_mcp.
micronaut-build plugin behavior.settings.gradle or settings.gradle.kts for settings plugins and dependency management.io.micronaut.build.shared.settings is present unless the repository intentionally diverged.settings.gradle(.kts), not in project build.gradle(.kts).io.micronaut.build.internal.parent for standard aggregation behavior.micronautBuild extension usage.buildSrc/convention plugins before modifying module build scripts.gradle.properties and gradle/*.versions.toml for version source and overrides.:micronaut-* paths for task targeting../gradlew projects.dependencyInsight before changing files.references/micronaut-build-plugins.md as the authoritative plugin behavior map.micronaut-build source as primary truth. Its README may be outdated.io.micronaut.build.internal.<name>.io.micronaut.build.shared.settings.check, then root validation.updateVersionCatalogs, useLatestVersions) where available.micronautBuild { importMicronautCatalog() } and alias-specific imports over ad hoc BOM wiring when repository conventions use settings extension catalog import.maven-tools MCP for latest stable versions, upgrade comparisons, and dependency health signals before changing catalogs or BOM constraints.api only for public API surface; use implementation for internals; use compileOnly/runtimeOnly intentionally.buildSrc) over duplicating logic in many module build files../gradlew :<module>:check./gradlew check./gradlew check docs./gradlew spotlessApply spotlessCheck./gradlew japiCmpmicronautBuild {
binaryCompatibility.enabledAfter("2.0.0")
}
2.0.0../gradlew dependencyInsight --configuration <conf> --dependency <module>./gradlew --scan <task>enforcedPlatform when plugin logic explicitly forbids it.Use references/gradle-best-practices.md for operational standards on:
micronaut-build source behavior.references/micronaut-build-plugins.mdreferences/gradle-best-practices.md