启用gradle的minifyEnabled (#2356)

* 修复文件类书源换源后阅读按钮工作不正确的bug

* 修复文件类书源换源后阅读按钮工作不正确的bug

* chore: rename EventBus.BOOK_URL_CHANGED

* build: enable minifyEnabled for buildType Release

 - add proguard-rules: StrResponse CacheManager CookieStore hutool
 - fix com.google.android.exoplayer2 proguard-rules

* build: keep io.legado.app.api.ReturnData
This commit is contained in:
Xwite
2022-10-01 18:42:45 +08:00
committed by GitHub
parent c933913136
commit c296f8aba8
2 changed files with 17 additions and 3 deletions
+2 -1
View File
@@ -69,7 +69,8 @@ android {
}
applicationIdSuffix '.release'
minifyEnabled false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {