update version

This commit is contained in:
Adam Velebil 2022-09-19 11:51:09 +02:00
parent 4f4a0ab7a5
commit 0cb52fbbd6
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084
2 changed files with 12 additions and 2 deletions

View File

@ -29,9 +29,11 @@ apply plugin: 'kotlinx-serialization'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply plugin: 'com.google.android.gms.oss-licenses-plugin' apply plugin: 'com.google.android.gms.oss-licenses-plugin'
import com.android.build.OutputFile
android { android {
compileSdkVersion 32 compileSdkVersion 33
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
@ -66,6 +68,14 @@ android {
abortOnError false 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" apply from: "signing.gradle"

View File

@ -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 <version> # This field is updated by running ./set-version.py <version>
# DO NOT MANUALLY EDIT THIS! # DO NOT MANUALLY EDIT THIS!
version: 6.0.0+59901 version: 6.0.0-beta.2+59901
environment: environment:
sdk: ">=2.17.0 <3.0.0" sdk: ">=2.17.0 <3.0.0"