Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7b94c88 authored by Sumit Pundir's avatar Sumit Pundir
Browse files

proguard-rules: fix proguard build issues

parent c8101ed4
Loading
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
# This dnsjava class uses old Sun API
-dontnote org.xbill.DNS.spi.DNSJavaNameServiceDescriptor
-dontwarn org.xbill.DNS.spi.DNSJavaNameServiceDescriptor
-dontnote org.xbill.DNS.ResolverConfig

# See http://stackoverflow.com/questions/5701126, happens in dnsjava
-optimizations !code/allocation/variable
@@ -32,6 +33,7 @@
-dontwarn com.squareup.okhttp3.**
-dontwarn javax.annotation.Nullable
-dontwarn javax.annotation.ParametersAreNonnullByDefault
-dontnote okhttp3.internal.**

# Project specific rules
-dontnote foundation.e.mail.PRNGFixes
@@ -43,3 +45,17 @@
}

-keep public class org.openintents.openpgp.**

# Kotlin
-keep class kotlin.Metadata { *; }
-dontnote kotlin.internal.**
-dontnote kotlin.reflect.jvm.internal.**

-dontnote sun.misc.Unsafe

-dontwarn java.lang.management.**

-dontnote junit.framework.**
-dontnote junit.runner.**

-dontwarn android.test.**