mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-19 08:14:54 +00:00
enable minify
This commit is contained in:
parent
c5885d9ce4
commit
4ef69969a7
@ -16,7 +16,8 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
|
10
app/proguard-rules.pro
vendored
10
app/proguard-rules.pro
vendored
@ -15,3 +15,13 @@
|
|||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||||
# public *;
|
# public *;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
-dontobfuscate
|
||||||
|
-keep class org.mozilla.javascript.** { *; }
|
||||||
|
|
||||||
|
-keep class org.mozilla.classfile.ClassFileWriter
|
||||||
|
-keep class com.google.android.exoplayer2.** { *; }
|
||||||
|
|
||||||
|
-dontwarn org.mozilla.javascript.tools.**
|
||||||
|
-dontwarn android.arch.util.paging.CountedDataSource
|
||||||
|
-dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource
|
Loading…
Reference in New Issue
Block a user