mirror of
https://github.com/cmclark00/TetriStats.git
synced 2025-05-17 22:55:21 +01:00
Add APK signing configuration for valid package installation
Some checks failed
Build and Release Android APK / build (push) Has been cancelled
Some checks failed
Build and Release Android APK / build (push) Has been cancelled
This commit is contained in:
parent
5af491a65c
commit
dcd389c3f2
2 changed files with 33 additions and 3 deletions
|
@ -27,6 +27,16 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
// These values will be replaced during the GitHub Actions build
|
||||
storeFile = file("keystore/release.keystore")
|
||||
storePassword = System.getenv("KEYSTORE_PASSWORD") ?: "android"
|
||||
keyAlias = System.getenv("KEY_ALIAS") ?: "release"
|
||||
keyPassword = System.getenv("KEY_PASSWORD") ?: "android"
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
|
@ -34,7 +44,10 @@ android {
|
|||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
// Make release version debuggable for now (helps with troubleshooting)
|
||||
isDebuggable = false
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
debug {
|
||||
isDebuggable = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue