Use the -keepnames option in your proguard.cfg
Refer to the manual
https://www.guardsquare.com/manual/configuration/usage#keepoptions
-keepnamesclass_specificationShort for
-keep,allowshrinkingclass_specificationSpecifies classes and class members whose names are to be preserved, if they aren’t removed in the shrinking phase. For example, you may want to keep all class names of classes that implement the Serializable interface, so that the processed code remains compatible with any originally serialized classes. Classes that aren’t used at all can still be removed. Only applicable when obfuscating.