Update build

This commit is contained in:
Victor Shcherb 2015-04-23 17:26:29 +02:00
parent 375f6a0f70
commit e660ee13d5

View file

@ -1,6 +1,6 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
// Global Paramers accepted // Global Parameters accepted
// APK_NUMBER_VERSION - version number of apk // APK_NUMBER_VERSION - version number of apk
// APK_VERSION - build number like #9999Z, for dev builds appended to app_version like 2.0.0 in no_translate.xml) // APK_VERSION - build number like #9999Z, for dev builds appended to app_version like 2.0.0 in no_translate.xml)
// flavor Z : M=-master, D=-design, B=-Blackberry, MD=-main-default, MQA=-main-qt-arm, MQDA=-main-qt-default-arm, S=-sherpafy // flavor Z : M=-master, D=-design, B=-Blackberry, MD=-main-default, MQA=-main-qt-arm, MQDA=-main-qt-default-arm, S=-sherpafy
@ -19,8 +19,7 @@ apply plugin: 'com.android.application'
// Less important // Less important
// 2. fix_apostrophe_issues (replace match="[^=]([^\\])'" replace="\1\\\\'") res/**/strings.xml // 2. fix_apostrophe_issues (replace match="[^=]([^\\])'" replace="\1\\\\'") res/**/strings.xml
// 3. sherpafy/free/paid // 3. sherpafy/free/paid
// 4. Release signature // 4. TARGET_APP_NAME, APP_EDITION uses flavor
// 5. TARGET_APP_NAME, APP_EDITION uses flavor
android { android {
compileSdkVersion 21 compileSdkVersion 21
@ -37,7 +36,7 @@ android {
publishing { publishing {
storeFile file("osmand_key") storeFile file("osmand_key")
storePassword System.getenv("OSMAND_APK_PASSWORD") storePassword System.getenv("OSMAND_APK_PASSWORD")
keyAlias "androiddebugkey" keyAlias "osmand"
keyPassword System.getenv("OSMAND_APK_PASSWORD") keyPassword System.getenv("OSMAND_APK_PASSWORD")
} }
} }