Android Gradle Logic
Centralized Android Gradle build logic using Convention Plugins and Version Catalogs, modeled on Now in Android.
- CCM score
- 63 of 100
- skills.sh installs
- 767
- GitHub stars
- 1K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers setting up a
build-logiccomposite build, wiring it throughsettings.gradle.kts, and registering shared plugins - Includes a
libs.versions.tomlsetup that manages both library versions and custom convention plugin IDs - Provides a sample
AndroidApplicationConventionPluginthat applies the Android application and Kotlin plugins and setstargetSdk - Designed for Android projects that repeat Gradle configuration across multiple
build.gradle.ktsfiles
Install
$ npx -y skills add new-silvermoon/awesome-android-agent-skills --skill android-gradle-logic -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Android Gradle Build Logic & Convention Plugins
This skill helps you configure a scalable, maintainable build system for Android apps using Gradle Convention Plugins and Version Catalogs, following the "Now in Android" (NiA) architecture.
Goal
Stop copy-pasting code between build.gradle.kts files. Centralize build logic (Compose setup, Kotlin options, Hilt, etc.) in reusable plugins.
Project Structure
Ensure your project has a build-logic directory included in settings.gradle.kts as a composite build.
root/
├── build-logic/
│ ├── convention/
│ │ ├── src/main/kotlin/
│ │ │ └── AndroidApplicationConventionPlugin.kt
│ │ └── build.gradle.kts
│ ├── build.gradle.kts
│ └── settings.gradle.kts
├── gradle/
│ └── libs.versions.toml
├── app/
│ └── build.gradle.kts
└── settings.gradle.kts
Step 1: Configure settings.gradle.kts
Include the build-logic as a plugin management source.
Details
- Repository
- github.com/new-silvermoon/awesome-android-agent-skills
- Categories
- Mobile Apps, CLI & Terminal
- First seen
- Jun 3, 2026
More from new-silvermoon/awesome-android-agent-skills
All 17- Android Architecture741
- Kotlin Concurrency Expert713
- Compose Performance Audit631
- Android Accessibility615
- Android Emulator Skill609
- Android Viewmodel609
- Android Coroutines607
- Android Data Layer559
- Android Retrofit520
- Coil Compose492
- Xml To Compose Migration469
- Compose Navigation437
- Rxjava To Coroutines Migration365
- Android Testing901
- Gradle Build Performance839
- Compose Ui803
Similar to Android Gradle Logic
More Mobile Appsandroid-gradle-build-logickrutikjain/android-agent-skills354 installsStructured guide for shaping Android Gradle build logic, version catalogs, and toolchain compatibility across modules.
android-native-devminimax-ai/skills2.9K installsComprehensive Android native guide covering Material Design 3, Kotlin/Compose, project setup, and build troubleshooting.
android-architecturenew-silvermoon/awesome-android-agent-skills741 installsLayered Android architecture guide using Clean Architecture, Hilt injection, and multi-module layout.
gradle-build-performancenew-silvermoon/awesome-android-agent-skills839 installsDiagnostic and optimization guide for slow Android/Gradle builds, covering build scans, phases, and CI caching.
kotlin-tooling-agp9-migrationkotlin/kotlin-agent-skills2.6K installsMigration guide for moving Kotlin Multiplatform projects to Android Gradle Plugin 9.0 and its new module layout.