Fix HW signing
This commit is contained in:
parent
c1b34bd382
commit
8709798f6d
1 changed files with 1 additions and 14 deletions
|
@ -40,15 +40,6 @@ android {
|
|||
keyAlias "osmand"
|
||||
keyPassword System.getenv("OSMAND_APK_PASSWORD")
|
||||
}
|
||||
|
||||
publishingHuawei {
|
||||
storeFile file("/var/lib/jenkins/osmand_hw_key")
|
||||
storePassword System.getenv("OSMAND_HW_APK_PASSWORD")
|
||||
keyAlias "osmand"
|
||||
keyPassword System.getenv("OSMAND_HW_APK_PASSWORD")
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
|
@ -215,11 +206,7 @@ android {
|
|||
buildConfigField "String", "OPR_BASE_URL", "\"https://test.openplacereviews.org/\""
|
||||
buildConfigField "String", "OSM_OAUTH_CONSUMER_KEY", "\"Ti2qq3fo4i4Wmuox3SiWRIGq3obZisBHnxmcM05y\""
|
||||
buildConfigField "String", "OSM_OAUTH_CONSUMER_SECRET", "\"lxulb3HYoMmd2cC4xxNe1dyfRMAY8dS0eNihJ0DM\""
|
||||
if (gradle.startParameter.taskNames.toString().contains("huawei")) {
|
||||
signingConfig signingConfigs.publishingHuawei
|
||||
} else {
|
||||
signingConfig signingConfigs.publishing
|
||||
}
|
||||
signingConfig signingConfigs.publishing
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue