Skip to content

Added support for gradle flavor specific dependencies in usual suspects check

Jan Kühle requested to merge frigus02/fdroidserver:master into master

When you have flavor specific dependencies in your project, you specify them in the build.gradle file with a prefixed compile command:

compile 'normal dependency'
myflavorCompile 'only for myflavor'

The usual suspects check just searches for some often used library names in the whole build.gradle file. I added another condition, so dependencies for not build flavors are not checked.

Merge request reports