Skip to content

Commit

Permalink
feat: enable minification (ReVanced#158)
Browse files Browse the repository at this point in the history
* chore: proguard

* build: enable minify
  • Loading branch information
Canny1913 committed Sep 26, 2022
1 parent 4ca1182 commit 8dde925
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {

buildTypes {
release {
isMinifyEnabled = false
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
Expand Down
7 changes: 7 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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.** {
*;
}

0 comments on commit 8dde925

Please sign in to comment.