Cleanup R8 rules (#1739)

This commit is contained in:
Harsh Shandilya
2022-02-21 18:45:59 +05:30
committed by GitHub
parent 2e3e6ef052
commit e343c66d8b

View File

@@ -1,32 +1,16 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /opt/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-keepattributes SourceFile,LineNumberTable
-keepattributes SourceFile,LineNumberTable,EnclosingMethod
-dontobfuscate
-keep class com.jcraft.jsch.**
-keep class org.eclipse.jgit.internal.JGitText { *; }
-keep class org.bouncycastle.jcajce.provider.** { *; }
-keep class !org.bouncycastle.jce.provider.X509LDAPCertStoreSpi,org.bouncycastle.jce.provider.** { *; }
# WhatTheStack
-keep class com.haroldadmin.whatthestack.WhatTheStackInitializer {
<init>();
}
-dontwarn sun.misc.SignalHandler
-dontwarn java.lang.instrument.ClassFileTransformer
-dontwarn javax.servlet.ServletContextListener
# WhatTheStack
-keep class com.haroldadmin.whatthestack.WhatTheStackInitializer {
<init>();
}