gradle-logic

Centralize Android Gradle build logic with convention plugins and version catalogs.

127|8|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/hanamizuki/solopreneur --skill gradle-logic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gradle-logic
Source: https://github.com/hanamizuki/solopreneur/tree/main/plugins/android-dev/skills/gradle-logic
Command: npx skills add https://github.com/hanamizuki/solopreneur --skill gradle-logic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralize Android Gradle build logic to eliminate copy-paste between modules.

Core Features & Use Cases

  • Centralized build logic through Gradle convention plugins and a version catalog to enforce consistent configurations across all modules.
  • Support for NiA-style architecture with a composite build, modularized build-logic, and a dedicated libs.versions.toml for dependency versions.
  • Real-world use: apply the convention plugin in app and library modules to standardize Kotlin options, Compose setups, and code-quality checks.

Quick Start

Apply the Gradle Convention Plugin to your Android module and run a project sync.

Frequently Asked Questions about gradle-logic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I centralize Android Gradle build logic to eliminate copy-paste between modules?

You can centralize Android Gradle build logic by using Gradle convention plugins and a version catalog to enforce consistent configurations across all modules. This eliminates copy-paste by applying a single registered plugin to your module builds.

What is a Gradle convention plugin and how does it standardize Android module configurations?

A Gradle convention plugin standardizes Android module configurations by encapsulating shared build logic for Kotlin options, Compose setups, and code-quality checks. Applying it across app and library modules enforces consistent configurations without duplicating scripts.

How to set up a composite build with a libs.versions.toml file for Android build logic?

To set up Android build logic, you configure a settings.gradle.kts composite build to include a modularized build-logic project. You then create a dedicated libs.versions.toml file to manage all dependency versions centrally within this structure.

Does this Gradle convention plugin approach support NiA-style architecture for Android projects?

Yes, this Gradle convention plugin approach supports NiA-style architecture by utilizing a modularized build-logic composite build alongside a dedicated libs.versions.toml file. This structure standardizes configurations across multiple Android modules.

Can I use version catalogs to manage dependencies across multiple Android modules with this build logic?

Yes, you can use version catalogs to manage dependencies across multiple Android modules. The build logic requires a dedicated libs.versions.toml file for dependency versions, ensuring consistent configurations are enforced by the convention plugins.

What is the best way to enforce consistent Compose and Kotlin configurations across Android modules?

The best way to enforce consistent Compose and Kotlin configurations is applying Gradle convention plugins across your modules. This centralizes the build logic, standardizing module setups and code-quality checks without copy-paste.