mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2026-02-15 19:54:26 +01:00
R8 configuration fixed for marshalling Preset values to/from XML
This commit is contained in:
committed by
Himali Aryal
parent
22c01e77c4
commit
96fe90a2d1
14
app/proguard-rules.pro
vendored
14
app/proguard-rules.pro
vendored
@@ -1,20 +1,6 @@
|
||||
|
||||
# Simple XML
|
||||
-dontwarn javax.xml.**
|
||||
|
||||
-keep public class org.simpleframework.**{ *; }
|
||||
-keep class org.simpleframework.xml.**{ *; }
|
||||
-keep class org.simpleframework.xml.core.**{ *; }
|
||||
-keep class org.simpleframework.xml.util.**{ *; }
|
||||
|
||||
-keepattributes Signature
|
||||
-keepattributes *Annotation*
|
||||
|
||||
# Ignore our XML Serialization classes
|
||||
-keep public class your.annotated.pojo.models.*{
|
||||
public protected private *;
|
||||
}
|
||||
|
||||
# Crashlytics
|
||||
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
|
||||
-keep public class * extends java.lang.Exception # Optional: Keep custom exceptions.
|
||||
@@ -1,21 +1,15 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
# Simple XML
|
||||
-dontwarn javax.xml.**
|
||||
|
||||
# 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 *;
|
||||
#}
|
||||
-keep public class org.simpleframework.**{ *; }
|
||||
-keep class org.simpleframework.xml.**{ *; }
|
||||
-keep class org.simpleframework.xml.core.**{ *; }
|
||||
-keep class org.simpleframework.xml.util.**{ *; }
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
# Ignore our XML Serialization classes
|
||||
-keep public class no.nordicsemi.android.toolbox.profile.repository.uartXml.XmlConfiguration {
|
||||
public protected private *;
|
||||
}
|
||||
-keep public class no.nordicsemi.android.toolbox.profile.repository.uartXml.XmlMacro {
|
||||
public protected private *;
|
||||
}
|
||||
Reference in New Issue
Block a user