Skip to content

Commit f5ffe1e

Browse files
committed
respect abi versions when such are provided in configuration
1 parent 170fa84 commit f5ffe1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-artifacts/project-template-gradle/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ def renameResultApks (variant) {
8787
def name
8888
variant.outputs.each { output ->
8989
def apkDirectory = output.packageApplication.outputFile.parentFile
90+
def abiName = "";
91+
if(output.getFilter(com.android.build.OutputFile.ABI)) {
92+
abiName = "-" + output.getFilter(com.android.build.OutputFile.ABI);
93+
}
9094
def apkNamePrefix = rootProject.name + "-" + variant.buildType.name
9195
name = apkNamePrefix + ".apk"
9296
output.packageApplication.outputFile = new File(apkDirectory, name);

0 commit comments

Comments
 (0)