2023-08-22 17:40:31 +02:00
|
|
|
# Include common rules
|
|
|
|
-include common.pro
|
2023-05-28 21:24:05 +02:00
|
|
|
|
2023-08-22 17:40:31 +02:00
|
|
|
### ProGuard specific rules
|
2023-05-28 21:24:05 +02:00
|
|
|
|
2023-08-22 17:40:31 +02:00
|
|
|
# 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
|
2023-09-05 15:47:54 +02:00
|
|
|
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassNoArgsConstructor {
|
2023-07-24 16:34:02 +02:00
|
|
|
<fields>;
|
|
|
|
}
|
2023-08-22 17:40:31 +02:00
|
|
|
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassNotAbstract {
|
2023-07-24 16:34:02 +02:00
|
|
|
<fields>;
|
|
|
|
}
|
2023-09-05 15:47:54 +02:00
|
|
|
-keepclassmembernames class com.example.NoSerializedNameMain$TestClassHasArgsConstructor {
|
2023-07-24 16:34:02 +02:00
|
|
|
<fields>;
|
|
|
|
}
|