1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-13 20:54:12 +01:00

Use R8 full mode

R8 FTW!
This commit is contained in:
topjohnwu 2019-04-02 16:32:40 -04:00
parent a9c90718d6
commit 056dafc59f
3 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,7 @@ dependencies {
implementation 'androidx.work:work-runtime:2.0.0'
implementation 'androidx.transition:transition:1.1.0-alpha02'
def libsuVersion = '2.3.2'
def libsuVersion = '2.3.3'
implementation "com.github.topjohnwu.libsu:core:${libsuVersion}"
implementation "com.github.topjohnwu.libsu:io:${libsuVersion}"

View File

@ -29,6 +29,9 @@
void onResponse(int);
}
# DelegateWorker
-keep,allowobfuscation class * extends com.topjohnwu.magisk.components.DelegateWorker
# BootSigner
-keepclassmembers class com.topjohnwu.signing.BootSigner { *; }
@ -46,4 +49,3 @@
# Excessive obfuscation
-repackageclasses 'a'
-allowaccessmodification
-optimizationpasses 6

View File

@ -24,3 +24,4 @@ org.gradle.daemon=true
#AndroidX
android.useAndroidX=true
android.enableJetifier=true
android.enableR8.fullMode=true