AGP 8
This commit is contained in:
parent
f09ef6c291
commit
753e236bff
5 changed files with 31 additions and 15 deletions
|
@ -1,11 +1,11 @@
|
|||
buildscript {
|
||||
ext {
|
||||
kotlin_version = '1.8.21'
|
||||
agp_version = '7.4.2'
|
||||
agp_version = '8.0.1'
|
||||
glide_version = '4.15.1'
|
||||
// AppGallery Connect plugin versions: https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-sdk-changenotes-0000001058732550
|
||||
// TODO TLAD AppGallery Connect plugin v1.8.1.300 does not support Gradle 8+
|
||||
huawei_agconnect_version = '1.8.0.300'
|
||||
// TODO TLAD AppGallery Connect plugin v1.9.0.300 does not support Gradle 8+
|
||||
huawei_agconnect_version = '1.9.0.300'
|
||||
abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2, 'x86': 3, 'x86_64': 4]
|
||||
useCrashlytics = gradle.startParameter.taskNames.any { task -> task.containsIgnoreCase("play") }
|
||||
useHms = gradle.startParameter.taskNames.any { task -> task.containsIgnoreCase("huawei") }
|
||||
|
|
|
@ -15,6 +15,10 @@ android.useAndroidX=true
|
|||
android.enableJetifier=true
|
||||
# Kotlin code style for this project: "official" or "obsolete":
|
||||
kotlin.code.style=official
|
||||
#android.defaults.buildfeatures.buildconfig=true
|
||||
#android.nonTransitiveRClass=false
|
||||
#android.nonFinalResIds=false
|
||||
android.defaults.buildfeatures.buildconfig=true
|
||||
android.nonTransitiveRClass=false
|
||||
android.nonFinalResIds=false
|
||||
|
||||
# fix for AppGallery Connect plugin which does not support yet Gradle 8
|
||||
# cf https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-common-faq-0000001063210244#section17273113244910
|
||||
apmsInstrumentationEnabled=false
|
||||
|
|
|
@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
|||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
|
||||
|
|
|
@ -125,18 +125,20 @@ packages:
|
|||
huawei_hmsavailability:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: huawei_hmsavailability
|
||||
sha256: ab7128852e4188fda1e052cc44d8f881061e79fdd568edd18981347906369653
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
path: flutter-hms-availability
|
||||
ref: agp8-compat
|
||||
resolved-ref: d861f98fcfbd770420594f92d099ea3128c840c2
|
||||
url: "https://github.com/deckerst/hms-flutter-plugin.git"
|
||||
source: git
|
||||
version: "6.6.0+300"
|
||||
huawei_map:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: huawei_map
|
||||
sha256: "3cee2a6fe1a8eb03782f29588df082de14b09f81c88b376017ad5afda6df2555"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
path: flutter-hms-map
|
||||
ref: agp8-compat
|
||||
resolved-ref: d861f98fcfbd770420594f92d099ea3128c840c2
|
||||
url: "https://github.com/deckerst/hms-flutter-plugin.git"
|
||||
source: git
|
||||
version: "6.9.0+300"
|
||||
intl:
|
||||
dependency: transitive
|
||||
|
|
|
@ -14,8 +14,18 @@ dependencies:
|
|||
path: ../aves_platform_meta
|
||||
aves_services:
|
||||
path: ../aves_services
|
||||
# cf https://github.com/HMS-Core/hms-flutter-plugin/pull/296
|
||||
huawei_hmsavailability:
|
||||
git:
|
||||
url: https://github.com/deckerst/hms-flutter-plugin.git
|
||||
ref: agp8-compat
|
||||
path: flutter-hms-availability
|
||||
# cf https://github.com/HMS-Core/hms-flutter-plugin/pull/296
|
||||
huawei_map:
|
||||
git:
|
||||
url: https://github.com/deckerst/hms-flutter-plugin.git
|
||||
ref: agp8-compat
|
||||
path: flutter-hms-map
|
||||
latlong2:
|
||||
provider:
|
||||
|
||||
|
|
Loading…
Reference in a new issue