Files
gson/test-shrinker/proguard.pro
Marcono1234 3e599c8fdb Rename Maven integration test modules (#2691)
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.
2024-05-31 18:00:39 -07:00

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>;
}