gradle-groovy
Installation
SKILL.md
Android Gradle (Groovy DSL)
Instructions
Groovy DSL (build.gradle) is acceptable; Kotlin DSL (build.gradle.kts) is preferred for new modules because of IDE autocomplete and type safety. This skill targets Groovy because many Java projects inherited it from older AGP versions.
1. Root build.gradle
buildscript {
ext {
agpVersion = '8.5.2'
javaVersion = JavaVersion.VERSION_17
minSdkVersion = 21
targetSdkVersion = 35
compileSdkVersion = 35
}
}