proguard-rules.pro 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Add project specific ProGuard rules here.
  2. # You can control the set of applied configuration files using the
  3. # proguardFiles setting in build.gradle.kts.
  4. #
  5. # For more details, see
  6. # http://developer.android.com/guide/developing/tools/proguard.html
  7. # If your project uses WebView with JS, uncomment the following
  8. # and specify the fully qualified class name to the JavaScript interface
  9. # class:
  10. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  11. # public *;
  12. #}
  13. # Uncomment this to preserve the line number information for
  14. # debugging stack traces.
  15. -keepattributes SourceFile,LineNumberTable
  16. # If you keep the line number information, uncomment this to
  17. # hide the original source file name.
  18. #-renamesourcefileattribute SourceFile
  19. -dontwarn javax.servlet.ServletContainerInitializer
  20. -dontwarn org.apache.bsf.BSFManager
  21. -keep,allowobfuscation,allowshrinking interface retrofit2.Call
  22. -keep,allowobfuscation,allowshrinking class retrofit2.Response
  23. -keep,allowobfuscation,allowshrinking class kotlin.coroutines.*
  24. -dontwarn java.lang.invoke.StringConcatFactory
  25. -dontwarn java.awt.font.FontRenderContext
  26. -dontwarn java.awt.font.LineBreakMeasurer
  27. -dontwarn java.awt.font.TextLayout
  28. -dontwarn java.awt.geom.AffineTransform
  29. -dontwarn java.beans.BeanDescriptor
  30. -dontwarn java.beans.BeanInfo
  31. -dontwarn java.beans.IntrospectionException
  32. -dontwarn java.beans.Introspector
  33. -dontwarn java.beans.PropertyDescriptor
  34. -dontwarn javax.imageio.ImageIO
  35. -dontwarn javax.imageio.ImageReader
  36. -dontwarn javax.imageio.stream.ImageInputStream
  37. -dontwarn javax.lang.model.SourceVersion
  38. -dontwarn javax.naming.InvalidNameException
  39. -dontwarn javax.naming.NamingException
  40. -dontwarn javax.naming.directory.Attribute
  41. -dontwarn javax.naming.directory.Attributes
  42. -dontwarn javax.naming.ldap.LdapName
  43. -dontwarn javax.naming.ldap.Rdn
  44. -dontwarn org.ietf.jgss.GSSContext
  45. -dontwarn org.ietf.jgss.GSSCredential
  46. -dontwarn org.ietf.jgss.GSSException
  47. -dontwarn org.ietf.jgss.GSSManager
  48. -dontwarn org.ietf.jgss.GSSName
  49. -dontwarn org.ietf.jgss.Oid