aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-21 18:45:59 +0530
committerGitHub <noreply@github.com>2022-02-21 13:15:59 +0000
commite343c66d8b15037c5b73a32dd71f5f6fee26a120 (patch)
treeb8aa9c4676edf65cad7c2923c99065620b6f4220
parent2e3e6ef052f61635a694248991b4e4d94505d509 (diff)
Cleanup R8 rules (#1739)
-rw-r--r--app/proguard-rules.pro28
1 files changed, 6 insertions, 22 deletions
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index bbb2e3f8..13b032ec 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -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>();
+}