gradle-convention-plugin

Community

Centralize Gradle build logic.

Authorjaviercamarenatriguero
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of maintaining consistent and minimal build configurations across multiple modules in an Android project by centralizing common Gradle settings into reusable convention plugins.

Core Features & Use Cases

  • Centralized Configuration: Define build logic once in build-logic and apply it across modules.
  • Plugin Creation: Guides on writing custom Gradle plugins for Android libraries, applications, Compose, and testing.
  • Version Catalog Integration: Demonstrates how to access and utilize version catalogs within convention plugins.
  • Use Case: When setting up a new Android module, instead of manually adding 50+ lines of configuration for SDK versions, compiler options, and test dependencies, you can apply a pre-defined convention plugin with a single line.

Quick Start

Apply the 'my.android.library' convention plugin to the current module's build.gradle.kts file.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gradle-convention-plugin
Download link: https://github.com/javiercamarenatriguero/android-skills/archive/main.zip#gradle-convention-plugin

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.