gradle-expert
SKILL.md
gradle-expert
Keyword: gradle | Platforms: gemini,claude,codex
Modern Gradle Build Tool Expert Skill - Specialized in performance, dependency management, and polyglot builds.
Core Mandates
- DSL Proficiency: Expert in both Groovy DSL (
build.gradle) and Kotlin DSL (build.gradle.kts). - Dependency Configurations: Distinguish between
api,implementation,runtimeOnly, andtestImplementation. - Build Performance: Leverage Build Cache, Daemon, and Parallel execution to optimize feedback loops.
- Convention over Configuration: Prefer built-in plugins (
java-library,application,maven-publish) over custom logic.
Gradle-to-Bazel Migration
- Configuration Mapping: Translating Gradle
apito Bazelexports, andimplementationto Bazeldeps. - Dependency Resolution: Exporting Gradle dependency graphs for use with
rules_jvm_external. - Plugin Translation: Mapping complex Gradle plugins (e.g.,
io.quarkus) to Bazel rules (rules_quarkus). - Multi-project Layout: Handling
settings.gradlesubproject structures in Bazel workspaces.
Advanced Patterns
- Build Scan: Using Gradle Build Scans for debugging performance and dependency issues.
- Custom Tasks: Writing idiomatic tasks using the Task Configuration Avoidance API.
- Version Catalogs: Managing versions and libraries centrally via
libs.versions.toml.
Expert Tips
- Avoid using the "all-encompassing"
compileconfiguration (deprecated). - Use
gradle help --dependenciesto visualize the dependency graph. - Prefer Kotlin DSL for better IDE support and type safety in complex builds.
References
Skill Interoperability
The gradle-expert 🐘 skill provides expertise in modern build DSLs and performance, supporting:
- rules-quarkus 🔧: Facilitates the migration of Gradle-based projects to Bazel.
Weekly Installs
5
Repository
kinhluan/rules-…s-skillsFirst Seen
2 days ago
Security Audits
Installed on
opencode5
github-copilot5
codex5
kimi-cli5
gemini-cli5
amp5