We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 41800ff + 909680a commit 298ddafCopy full SHA for 298ddaf
build-artifacts/project-template-gradle/build.gradle
@@ -87,7 +87,11 @@ def renameResultApks (variant) {
87
def name
88
variant.outputs.each { output ->
89
def apkDirectory = output.packageApplication.outputFile.parentFile
90
- def apkNamePrefix = rootProject.name + "-" + variant.buildType.name
+ def abiName = "";
91
+ if(output.getFilter(com.android.build.OutputFile.ABI)) {
92
+ abiName = "-" + output.getFilter(com.android.build.OutputFile.ABI);
93
+ }
94
+ def apkNamePrefix = rootProject.name + "-" + variant.buildType.name + abiName
95
name = apkNamePrefix + ".apk"
96
output.packageApplication.outputFile = new File(apkDirectory, name);
97
}
0 commit comments