diff options
author | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-04-24 17:47:22 +0200 |
---|---|---|
committer | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-04-24 17:47:22 +0200 |
commit | 13c1de7a419e40af21254da23f11a08f2a59bb4d (patch) | |
tree | 1373e44aa3fba8d3a3703568494f94e6eff0cb41 /iget_android/app | |
parent | d47264a888eebc6232d4ffbf45b26e6169a49213 (diff) |
apk name correction
Change-Id: I234a7ab99033ae19a8ace0ed32bc7041ceec6498
Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'iget_android/app')
-rw-r--r-- | iget_android/app/build.gradle | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/iget_android/app/build.gradle b/iget_android/app/build.gradle index 43638e0a..13321fc0 100644 --- a/iget_android/app/build.gradle +++ b/iget_android/app/build.gradle @@ -30,7 +30,15 @@ android { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - signingConfig signingConfigs.release + applicationVariants.all { variant -> + variant.outputs.each { output -> + project.ext { appName = 'iget' } + def newName = output.outputFile.name + newName = newName.replace("app", "$project.ext.appName-$System.env.ABI") + output.outputFile = new File(output.outputFile.parent, newName) + } + } + signingConfig signingConfigs.release } debug { debuggable true @@ -56,6 +64,8 @@ android { abi { enable true // enable ABI split feature to create one APK per ABI universalApk false // don't generate an additional APK that targets all the ABIs + reset() + include 'armeabi-v7a' } } |