TF-2988 Update app build.gradle target to 34
This commit is contained in:
@@ -21,6 +21,11 @@ if (flutterVersionName == null) {
|
|||||||
flutterVersionName = '1.0'
|
flutterVersionName = '1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')
|
||||||
|
if (flutterMinSdkVersion == null) {
|
||||||
|
flutterMinSdkVersion = '19'
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
||||||
@@ -40,8 +45,8 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.linagora.android.teammail"
|
applicationId "com.linagora.android.teammail"
|
||||||
minSdkVersion 19
|
minSdkVersion flutterMinSdkVersion.toInteger()
|
||||||
targetSdkVersion 33
|
targetSdkVersion 34
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
versionName flutterVersionName
|
versionName flutterVersionName
|
||||||
// The number of method references in a .dex file cannot exceed 64K
|
// The number of method references in a .dex file cannot exceed 64K
|
||||||
|
|||||||
Reference in New Issue
Block a user