Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Walks an Android project through upgrading to Android Gradle Plugin 9, covering built-in Kotlin, the new DSL, kapt, and BuildConfig.
45% 100%+55 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
// BEFORE (AGP 8)
android {
namespace = "com.example.app"
}
// AFTER (AGP 9) — unchanged, but now mandatory (no fallback to package attribute)
android {
namespace = "com.example.app"
}
// BEFORE
android {
buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
}
// AFTER (AGP 9) — same syntax, but verify all flags use `is` prefix
// The `minifyEnabled` (without `is`) is removed in AGP 9
android {
buildTypes {
release {
isMinifyEnabled = true // Must use `is` prefix
isShrinkResources = true // Must use `is` prefix
Next to this one in the catalogue, plus more from the same author.