Skip to content

Commit

Permalink
ABI Codes as versionCode suffix in Android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
CircuitCoder committed Nov 19, 2022
1 parent 0bda532 commit 30d6f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def abiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
if (abiVersionCode != null) {
output.versionCodeOverride = variant.versionCode + abiVersionCode * 1000000
output.versionCodeOverride = variant.versionCode * 10 + abiVersionCode
}
}
}

0 comments on commit 30d6f6d

Please sign in to comment.