| name | android-release |
| description | App signing, bundling, and Play Store deployment automation. Use when signing APK/AAB, generating release builds, preparing Play Store upload, or configuring ProGuard. |
| license | MIT |
| version | 1.0.0 |
Android Release Skill
App signing, bundling, and Play Store deployment automation.
When to Use
- Signing APK/AAB for release
- Generating release builds
- Preparing Play Store upload
- Managing signing keys
- Configuring ProGuard/R8
Signing Configuration
keystore.properties (gitignored)
storeFile=release-key.jks
storePassword=your_store_password
keyAlias=your_key_alias
keyPassword=your_key_password
build.gradle.kts
val keystoreProperties = Properties().apply {
val file = file("keystore.properties")
if (file.exists()) file.inputStream().use { load(it) }
}
android {
signingConfigs {
create("release") {
storeFile = file(keystoreProperties["storeFile"] as String)
storePassword = keystoreProperties["storePassword"] String
keyAlias = keystoreProperties[] String
keyPassword = keystoreProperties[] String
}
}
buildTypes {
release {
signingConfig = signingConfigs.getByName()
isMinifyEnabled =
isShrinkResources =
proguardFiles(
getDefaultProguardFile(),
)
}
}
}