mirror of
https://github.com/google/gson.git
synced 2026-03-13 08:01:59 +08:00
The new naming scheme `test-...` groups the modules in the file system and the IDE and therefore hopefully makes it easier to quickly see which modules are integration tests.
18 lines
588 B
Prolog
18 lines
588 B
Prolog
# Include common rules
|
|
-include common.pro
|
|
|
|
### ProGuard specific rules
|
|
|
|
# Unlike R8, ProGuard does not perform aggressive optimization which makes classes abstract,
|
|
# therefore for ProGuard can successfully perform deserialization, and for that need to
|
|
# preserve the field names
|
|
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassNoArgsConstructor {
|
|
<fields>;
|
|
}
|
|
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassNotAbstract {
|
|
<fields>;
|
|
}
|
|
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassHasArgsConstructor {
|
|
<fields>;
|
|
}
|