mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-23 00:17:42 +00:00
Use R8 full mode
R8 FTW!
This commit is contained in:
parent
a9c90718d6
commit
056dafc59f
@ -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}"
|
||||||
|
|
||||||
|
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
@ -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 @@
|
|||||||
# Excessive obfuscation
|
# Excessive obfuscation
|
||||||
-repackageclasses 'a'
|
-repackageclasses 'a'
|
||||||
-allowaccessmodification
|
-allowaccessmodification
|
||||||
-optimizationpasses 6
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user