mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-03-27 11:51:36 -04:00
Update to AGP 9.1.0 (#3071)
This commit is contained in:
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: Check lint
|
||||
run: ./gradlew lint${{ matrix.flavor }}Release
|
||||
- name: Run unit tests
|
||||
run: timeout 5m ./gradlew test${{ matrix.flavor }}ReleaseUnitTest || { ./gradlew --stop && timeout 5m ./gradlew test${{ matrix.flavor }}ReleaseUnitTest; }
|
||||
run: timeout 5m ./gradlew test${{ matrix.flavor }}DebugUnitTest || { ./gradlew --stop && timeout 5m ./gradlew test${{ matrix.flavor }}DebugUnitTest; }
|
||||
- name: Enable KVM
|
||||
run: |
|
||||
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
|
||||
|
||||
@@ -38,7 +38,7 @@ android {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android.txt"),
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
@@ -107,7 +107,6 @@ android {
|
||||
// Flag to enable support for the new language APIs
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
@@ -14,4 +14,5 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
||||
# AndroidX package structure to make it clearer which packages are bundled with the
|
||||
# Android operating system, and which are packaged with your app's APK
|
||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||
android.useAndroidX=true
|
||||
android.builtInKotlin=false
|
||||
android.newDsl=false
|
||||
@@ -1,6 +1,7 @@
|
||||
[versions]
|
||||
# AndroidX
|
||||
compose = "2026.03.00"
|
||||
kotlin = "2.3.20"
|
||||
|
||||
# Third-party
|
||||
acra = "5.13.1"
|
||||
@@ -52,9 +53,9 @@ junit-junit = { group = "junit", name = "junit", version = "4.13.2" }
|
||||
org-robolectric-robolectric = { group = "org.robolectric", name = "robolectric", version = "4.16.1" }
|
||||
|
||||
[plugins]
|
||||
com-android-application = { id = "com.android.application", version = "8.13.2" }
|
||||
org-jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version = "2.3.10" }
|
||||
org-jetbrains-kotlin-plugin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version = "2.3.10" }
|
||||
com-android-application = { id = "com.android.application", version = "9.1.0" }
|
||||
org-jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||
org-jetbrains-kotlin-plugin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
||||
|
||||
[bundles]
|
||||
acra = ["ch-acra-acra-mail", "ch-acra-acra-dialog"]
|
||||
|
||||
Reference in New Issue
Block a user