mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-15 22:33:24 +00:00
Sign debug builds with custom keystore if applicable
This commit is contained in:
@@ -23,6 +23,11 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
debug {
|
||||||
|
// If keystore exists, sign the APK with custom signature
|
||||||
|
if (signingConfigs.config.storeFile.exists())
|
||||||
|
signingConfig signingConfigs.config
|
||||||
|
}
|
||||||
release {
|
release {
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
|
Reference in New Issue
Block a user