Skip to content

Commit 52ceef3

Browse files
committed
fix(android): use proguard-android-optimize for AGP 9 compatibility
1 parent f6c44f9 commit 52ceef3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android-template/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ android {
1919
buildTypes {
2020
release {
2121
minifyEnabled false
22-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2323
}
2424
}
2525
}

android/capacitor/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ android {
5353
buildTypes {
5454
release {
5555
minifyEnabled false
56-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
56+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
5757
}
5858
}
5959
lintOptions {

0 commit comments

Comments
 (0)