|
|
@@ -128,6 +128,16 @@ android { |
|
|
|
include "armeabi-v7a", "x86", "arm64-v8a" |
|
|
|
} |
|
|
|
} |
|
|
|
signingConfigs { |
|
|
|
release { |
|
|
|
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) { |
|
|
|
storeFile file(MYAPP_RELEASE_STORE_FILE) |
|
|
|
storePassword MYAPP_RELEASE_STORE_PASSWORD |
|
|
|
keyAlias MYAPP_RELEASE_KEY_ALIAS |
|
|
|
keyPassword MYAPP_RELEASE_KEY_PASSWORD |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
buildTypes { |
|
|
|
debug { |
|
|
|
buildConfigField "String", "API_HOST", "\"https://mall.youlane.cn/\"" |
|
|
@@ -140,10 +150,7 @@ android { |
|
|
|
buildConfigField "String", "CODEPUSH_KEY", "\"9rYZYySFD0ryN5wCD9YmjJkT55Kf4ksvOXqog\"" |
|
|
|
minifyEnabled enableProguardInReleaseBuilds |
|
|
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" |
|
|
|
storeFile file(MYAPP_RELEASE_STORE_FILE) |
|
|
|
storePassword MYAPP_RELEASE_STORE_PASSWORD |
|
|
|
keyAlias MYAPP_RELEASE_KEY_ALIAS |
|
|
|
keyPassword MYAPP_RELEASE_KEY_PASSWORD |
|
|
|
signingConfig signingConfigs.release |
|
|
|
} |
|
|
|
product.initWith(release) |
|
|
|
product { |
|
|
|