How to fetch merged proguard rules

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

+3


source to share


2 answers


Add this line to your proguard-rules.pro to get the merged proguard configuration file for your project.



    -printconfiguration "build/outputs/mapping/configuration.txt"

      

+2


source


After building with proguard, you should have a file

app / assemblies / proguard-configuration.txt



This file contains all the rules for the project.

-1


source







All Articles