question

Niall O C avatar image
Niall O C asked Raymond Lee Deactivated answered

How to implement proguard rules

Which are the rules for proguard?

My team tried to build a release with minify and shrinkResources enabled and this fails with the following warning:

Warning: com.clover.core.internal.calc.Decimal: can't find referenced class edu.umd.cs.findbugs.annotations.SuppressFBWarnings
release {
minifyEnabled true
shrinkResources true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), ' proguard-rules.pro'
signingConfig signingConfigs.release
}


Please advise.
App MarketProduction
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Raymond Lee avatar image
Raymond Lee Deactivated answered
Try adding this to your rules:
-dontwarn edu.umd.cs.findbugs.annotations.SuppressFBWarnings
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community