Skip to content

Commit

Permalink
reverts
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 6, 2024
1 parent 8c5776a commit 240e294
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,14 @@ android {
flutter {
source = "../.."
}

ext.abiCodes = ["x86_64": 1, "arm64-v8a": 2, "armeabi-v7a": 3]
import com.android.build.OutputFile
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 * 10 + abiVersionCode
}
}
}

0 comments on commit 240e294

Please sign in to comment.