feat: enable minification (#158)

* chore: proguard

* build: enable minify
This commit is contained in:
Canny 2022-09-26 17:28:55 +03:00 committed by GitHub
parent 4ca1182485
commit 8dde925b47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -29,7 +29,7 @@ android {
buildTypes {
release {
isMinifyEnabled = false
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}

View File

@ -19,3 +19,10 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontobfuscate
-keep class app.revanced.** {
*;
}
-keep class com.google.** {
*;
}