2017-11-04 16:09:25 +01:00
|
|
|
# Add project specific ProGuard rules here.
|
|
|
|
# By default, the flags in this file are appended to flags specified
|
2018-08-12 10:04:48 +02:00
|
|
|
# in ~/Android/Sdk/tools/proguard/proguard-android.txt
|
2017-11-04 16:09:25 +01:00
|
|
|
# You can edit the include path and order by changing the proguardFiles
|
2021-06-06 11:25:27 +02:00
|
|
|
# directive in show.gradle.
|
2017-11-04 16:09:25 +01:00
|
|
|
#
|
|
|
|
# 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 *;
|
|
|
|
#}
|
|
|
|
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
|
|
# debugging stack traces.
|
2018-12-16 11:41:42 +01:00
|
|
|
#-keepattributes SourceFile,LineNumberTable
|
2017-11-04 16:09:25 +01:00
|
|
|
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
|
|
# hide the original source file name.
|
2018-08-16 17:23:26 +02:00
|
|
|
#-renamesourcefileattribute SourceFile
|
|
|
|
|
2021-06-05 15:45:03 +02:00
|
|
|
# keep these libraries but allow obfuscating
|
2018-08-16 17:23:26 +02:00
|
|
|
-dontwarn twitter4j.**
|
2021-01-16 21:00:58 +01:00
|
|
|
-keep,allowobfuscation class twitter4j.** {*;}
|
2021-08-29 09:58:10 +02:00
|
|
|
-keep class twitter4j.TwitterImpl {*;}
|
|
|
|
-keep class twitter4j.conf.PropertyConfigurationFactory {*;}
|
2021-01-16 21:00:58 +01:00
|
|
|
-adaptclassstrings twitter4j.**
|
2021-08-29 09:58:10 +02:00
|
|
|
-adaptresourcefilenames twitter4j.**
|
|
|
|
-adaptresourcefilecontents twitter4j.**
|
|
|
|
|
2019-10-08 21:25:47 +02:00
|
|
|
-dontwarn javax.management.DynamicMBean
|
2021-01-16 21:00:58 +01:00
|
|
|
-keep,allowobfuscation class javax.management.DynamicMBean {*;}
|
2021-06-05 15:45:03 +02:00
|
|
|
-adaptclassstrings javax.management.DynamicMBean
|
|
|
|
|
2021-08-29 09:58:10 +02:00
|
|
|
-dontwarn org.conscrypt.Conscrypt
|
|
|
|
-keep,allowobfuscation class org.conscrypt.Conscrypt {*;}
|
|
|
|
-adaptclassstrings org.conscrypt.Conscrypt
|
|
|
|
|
|
|
|
-dontwarn org.conscrypt.OpenSSLProvider
|
|
|
|
-keep,allowobfuscation class org.conscrypt.OpenSSLProvider {*;}
|
|
|
|
-adaptclassstrings org.conscrypt.OpenSSLProvider
|
|
|
|
|
|
|
|
-dontwarn javax.annotation.Nullable
|
|
|
|
-keep,allowobfuscation class javax.annotation.Nullable {*;}
|
|
|
|
-adaptclassstrings javax.annotation.Nullable
|
|
|
|
|
|
|
|
|
2021-06-05 15:45:03 +02:00
|
|
|
# use dictionaries to create random package names
|
2021-06-06 12:15:35 +02:00
|
|
|
-obfuscationdictionary dict/obfuscation-dictionary.txt
|
|
|
|
-classobfuscationdictionary dict/class-dictionary.txt
|
|
|
|
-packageobfuscationdictionary dict/package-dictionary.txt
|