Commit 056dafc5 authored by topjohnwu's avatar topjohnwu

Use R8 full mode

R8 FTW!
parent a9c90718
...@@ -41,7 +41,7 @@ dependencies { ...@@ -41,7 +41,7 @@ dependencies {
implementation 'androidx.work:work-runtime:2.0.0' implementation 'androidx.work:work-runtime:2.0.0'
implementation 'androidx.transition:transition:1.1.0-alpha02' 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:core:${libsuVersion}"
implementation "com.github.topjohnwu.libsu:io:${libsuVersion}" implementation "com.github.topjohnwu.libsu:io:${libsuVersion}"
......
...@@ -29,6 +29,9 @@ ...@@ -29,6 +29,9 @@
void onResponse(int); void onResponse(int);
} }
# DelegateWorker
-keep,allowobfuscation class * extends com.topjohnwu.magisk.components.DelegateWorker
# BootSigner # BootSigner
-keepclassmembers class com.topjohnwu.signing.BootSigner { *; } -keepclassmembers class com.topjohnwu.signing.BootSigner { *; }
...@@ -46,4 +49,3 @@ ...@@ -46,4 +49,3 @@
# Excessive obfuscation # Excessive obfuscation
-repackageclasses 'a' -repackageclasses 'a'
-allowaccessmodification -allowaccessmodification
-optimizationpasses 6
...@@ -24,3 +24,4 @@ org.gradle.daemon=true ...@@ -24,3 +24,4 @@ org.gradle.daemon=true
#AndroidX #AndroidX
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
android.enableR8.fullMode=true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment