Skip to content

Commit 401e784

Browse files
authored
Merge pull request #1878 from christofferqa/repackageclasses
Add -repackageclasses to R8 configuration
2 parents 0bae730 + 86f9763 commit 401e784

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ android {
4545
release {
4646
isMinifyEnabled = true
4747
applicationIdSuffix = NiaBuildType.RELEASE.applicationIdSuffix
48-
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
48+
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"),
49+
"proguard-rules.pro")
4950

5051
// To publish on the Play store a private signing key is required, but to allow anyone
5152
// who clones the code to sign and run the release variant, use the debug signing key.

app/proguard-rules.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Repackage classes into the default package to reduce the size of descriptors.
2+
-repackageclasses

0 commit comments

Comments
 (0)