paytm / Paytm_Payments_Android_Sample_Apps

12 stars 36 forks source link

all-in-one sdk proguard optimization pass doubles the compilation time #4

Open alfiewm opened 4 years ago

alfiewm commented 4 years ago

In the proguard.txt file inside the 1.3 All-in-One SDK, there is a configuration which sets the optimization pass to 10, as showed below.

-optimizationpasses 10

As a result, the compilation time of my project doubled(from 5 mins to 12mins), and I could not find a way to override it!

AFAIK, this is not a library's responsibility to config optimization pass, could you please explain why you add this, and is there any way to workaround this rule? Thanks.