Skip to content

Commit d58ed20

Browse files
committed
build: override split APK versionCode to keep base value
1 parent 211004b commit d58ed20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ android {
127127

128128
applicationVariants.all { variant ->
129129
variant.outputs.all { output ->
130+
output.versionCodeOverride = variant.versionCode
130131
def abi = output.getFilter(com.android.build.OutputFile.ABI)
131132
if (abi != null) {
132133
outputFileName = "LTvLauncher-${abi}-${variant.buildType.name}.apk"

0 commit comments

Comments
 (0)