I need to extract the final proguard rules file with all rules for a project. I copied it in my project directory but no luck
Add this line to your proguard-rules.pro to get the merged proguard configuration file for your project.
-printconfiguration "build/outputs/mapping/configuration.txt"
After building with proguard, you should have a file
app / assemblies / proguard-configuration.txt
This file contains all the rules for the project.