https://kotlinlang.org logo
#android
Title
# android
r

Remon Shehata

06/26/2020, 6:23 PM
Hello guys, I obfuscated my code to shrink it's size..etc using these lines
Copy code
minifyEnabled true
shrinkResources true
inside build grade(module:app) I have a few data classes that I want to keep as is. what should I search for?
s

Saurabh Thorat

06/26/2020, 7:04 PM
You can keep your model package by adding this to your `proguard-rules.pro`:
-keep class your.package.name.model.** { *; }