Skip to content

Commit

Permalink
Addressed more review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sgjesse committed Aug 21, 2023
1 parent ac6e590 commit 8d14f1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion gson/src/main/resources/META-INF/proguard/gson.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
# Keep class TypeToken (respectively its generic signature) if present
-if class com.google.gson.reflect.TypeToken
-keep,allowobfuscation class com.google.gson.reflect.TypeToken
#-keep class com.google.gson.reflect.TypeToken { *; }

# Keep any (anonymous) classes extending TypeToken
-keep,allowobfuscation class * extends com.google.gson.reflect.TypeToken
Expand Down
4 changes: 1 addition & 3 deletions shrinker-test/common.pro
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@
}
-keepclassmembernames class com.example.ClassWithVersionAnnotations {
<fields>;
}

-dontobfuscate
}
3 changes: 3 additions & 0 deletions shrinker-test/proguard.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassNotAbstract {
<fields>;
}
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassWithoutDefaultConstructor {
<fields>;
}

0 comments on commit 8d14f1a

Please sign in to comment.