Added debug keystore for debug builds
This commit is contained in:
parent
8d9c2800d8
commit
c02af8f096
2 changed files with 19 additions and 0 deletions
|
@ -55,11 +55,22 @@ android {
|
|||
)
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
getByName(DefaultConfig.DebugSign.signingDebug) {
|
||||
storeFile = file("$rootDir/${DefaultConfig.DebugSign.keystoreFile}")
|
||||
storePassword = DefaultConfig.DebugSign.keystorePassword
|
||||
keyAlias = DefaultConfig.DebugSign.keyAlias
|
||||
keyPassword = DefaultConfig.DebugSign.keyPassword
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
getByName(BuildTypes.debug) {
|
||||
isDebuggable = true
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
|
||||
signingConfig = signingConfigs.getByName(DefaultConfig.DebugSign.signingDebug)
|
||||
}
|
||||
|
||||
getByName(BuildTypes.release) {
|
||||
|
|
|
@ -31,6 +31,14 @@ object DefaultConfig {
|
|||
|
||||
const val encoding = "UTF-8"
|
||||
|
||||
object DebugSign {
|
||||
const val signingDebug = "debug"
|
||||
const val keystoreFile = "debug.keystore"
|
||||
const val keystorePassword = "android"
|
||||
const val keyAlias = "androiddebugkey"
|
||||
const val keyPassword = "android"
|
||||
}
|
||||
|
||||
object Dev {
|
||||
const val applicationID = "su.xash.husky.dev"
|
||||
|
||||
|
|
Loading…
Reference in a new issue