Skip to content

Commit

Permalink
Remove unused R8 rule
Browse files Browse the repository at this point in the history
Signed-off-by: starry-shivam <[email protected]>
  • Loading branch information
starry-shivam committed Feb 24, 2024
1 parent e53f4b0 commit 9b83e79
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@
# hide the original source file name.
#-renamesourcefileattribute SourceFile

# Keep all data classes.
#
# Rule explanation:
# 1. All data class has component1() method which returns data
# 2. All data class has at least one field.
# 3. Almost all the classes doesn’t satisfy criteria above.
-keepclasseswithmembers class com.starry.greenstash.** {
public ** component1();
<fields>;
}

# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
-keep class * implements com.google.gson.TypeAdapter
Expand Down

0 comments on commit 9b83e79

Please sign in to comment.