mirror of
https://github.com/lilstiffy/MockGps.git
synced 2026-07-09 17:08:25 +00:00
37 lines
1.4 KiB
Prolog
37 lines
1.4 KiB
Prolog
# 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
|
|
|
|
# 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.
|
|
#-keepattributes SourceFile,LineNumberTable
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# hide the original source file name.
|
|
#-renamesourcefileattribute SourceFile
|
|
|
|
# Gson uses generic type information stored in a class file when working with
|
|
# fields. Proguard removes such information by default, keep it.
|
|
-keepattributes Signature
|
|
|
|
# This is also needed for R8 in compat mode since multiple
|
|
# optimizations will remove the generic signature such as class
|
|
# merging and argument removal. See:
|
|
# https://r8.googlesource.com/r8/+/refs/heads/main/compatibility-faq.md#troubleshooting-gson-gson
|
|
-keep class com.google.gson.reflect.TypeToken { *; }
|
|
-keep class * extends com.google.gson.reflect.TypeToken
|
|
|
|
# Optional. For using GSON @Expose annotation
|
|
-keepattributes AnnotationDefault,RuntimeVisibleAnnotations
|
|
|
|
-keep class com.lilstiffy.mockgps.ui.models.** { *; }
|