AGP upgrade
This commit is contained in:
parent
3547787112
commit
445aa2cb06
2 changed files with 12 additions and 12 deletions
|
@ -50,24 +50,27 @@ if (keystorePropertiesFile.exists()) {
|
||||||
android {
|
android {
|
||||||
namespace 'deckers.thibault.aves'
|
namespace 'deckers.thibault.aves'
|
||||||
compileSdk 34
|
compileSdk 34
|
||||||
ndkVersion flutter.ndkVersion
|
// cf https://developer.android.com/studio/projects/install-ndk#default-ndk-per-agp
|
||||||
|
ndkVersion '25.1.8937393'
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lint {
|
||||||
checkAllWarnings true
|
checkAllWarnings true
|
||||||
warningsAsErrors true
|
warningsAsErrors true
|
||||||
disable 'InvalidPackage'
|
disable 'InvalidPackage'
|
||||||
}
|
}
|
||||||
|
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
// The Amazon Developer console mistakenly considers the app to not be 64-bit compatible
|
jniLibs {
|
||||||
// if there are some libs in `lib/armeabi-v7a` unmatched by libs in `lib/arm64-v8a`,
|
// The Amazon Developer console mistakenly considers the app to not be 64-bit compatible
|
||||||
// so we exclude the extra `neon` libs bundled by `FFmpegKit`.
|
// if there are some libs in `lib/armeabi-v7a` unmatched by libs in `lib/arm64-v8a`,
|
||||||
exclude 'lib/armeabi-v7a/*_neon.so'
|
// so we exclude the extra `neon` libs bundled by `FFmpegKit`.
|
||||||
|
excludes += ['lib/armeabi-v7a/*_neon.so']
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
@ -77,12 +80,9 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId packageName
|
applicationId packageName
|
||||||
// minSdk constraints:
|
// minSdk constraints:
|
||||||
// - Flutter & other plugins: 16
|
// - Flutter & other plugins: 19 (cf `flutter.minSdkVersion`)
|
||||||
// - google_maps_flutter v2.1.1: 20
|
// - google_maps_flutter v2.1.1: 20
|
||||||
// - to build XML documents from XMP data, `metadata-extractor` and `PixyMeta` rely on `DocumentBuilder`,
|
minSdk flutter.minSdkVersion
|
||||||
// which implementation `DocumentBuilderImpl` is provided by the OS and is not customizable on Android,
|
|
||||||
// but the implementation on API <19 is not robust enough and fails to build XMP documents
|
|
||||||
minSdk 19
|
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
versionName flutterVersionName
|
versionName flutterVersionName
|
||||||
|
|
|
@ -2,7 +2,7 @@ buildscript {
|
||||||
ext {
|
ext {
|
||||||
kotlin_version = '1.9.21'
|
kotlin_version = '1.9.21'
|
||||||
ksp_version = "$kotlin_version-1.0.15"
|
ksp_version = "$kotlin_version-1.0.15"
|
||||||
agp_version = '8.1.4'
|
agp_version = '8.2.0'
|
||||||
glide_version = '4.16.0'
|
glide_version = '4.16.0'
|
||||||
// AppGallery Connect plugin versions: https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-sdk-changenotes-0000001058732550
|
// AppGallery Connect plugin versions: https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-sdk-changenotes-0000001058732550
|
||||||
huawei_agconnect_version = '1.9.1.300'
|
huawei_agconnect_version = '1.9.1.300'
|
||||||
|
|
Loading…
Reference in a new issue