Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix version code error
Browse files Browse the repository at this point in the history
  • Loading branch information
Randall Barker committed Sep 28, 2018
1 parent b7c74fc commit b35b4f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ android.applicationVariants.all { variant ->
} else if (variant.flavorName.contains("Arm")) {
versionCode = versionCode + (1 * multiplier)
}
variant.mergedFlavor.versionCode = versionCode
variant.outputs.all { output ->

variant.outputs.each { output ->
output.setVersionCodeOverride(versionCode)
}
}
Expand Down

0 comments on commit b35b4f1

Please sign in to comment.