From 0cb52fbbd6b9a822de84d15dd6f89b5fb0620ce8 Mon Sep 17 00:00:00 2001 From: Adam Velebil Date: Mon, 19 Sep 2022 11:51:09 +0200 Subject: [PATCH] update version --- android/app/build.gradle | 12 +++++++++++- pubspec.yaml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 087660e3..e03a4650 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -29,9 +29,11 @@ apply plugin: 'kotlinx-serialization' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" apply plugin: 'com.google.android.gms.oss-licenses-plugin' +import com.android.build.OutputFile + android { - compileSdkVersion 32 + compileSdkVersion 33 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -66,6 +68,14 @@ android { abortOnError false } + applicationVariants.all { variant -> + variant.outputs.each { output -> + def abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2, x86: 3, x86_64: 4] + def abiCode = abiCodes.get(output.getFilter(OutputFile.ABI)) + output.versionCodeOverride = variant.versionCode * 10 + (abiCode != null ? abiCode : 0) + } + } + } apply from: "signing.gradle" diff --git a/pubspec.yaml b/pubspec.yaml index 5f2eb37f..57442fc0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # This field is updated by running ./set-version.py # DO NOT MANUALLY EDIT THIS! -version: 6.0.0+59901 +version: 6.0.0-beta.2+59901 environment: sdk: ">=2.17.0 <3.0.0"