Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
null check instead of using old hasFilter method
Browse files Browse the repository at this point in the history
  • Loading branch information
Said Tahsin Dane committed Feb 12, 2018
1 parent ccff5d2 commit a3e1b75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class LintConfigurator implements Configurator, VariantAware {

private void configureWithVariants(Closure config, DomainObjectSet variants) {
configureLint(config)
if (hasFilter) {
if (includeVariantsFilter != null) {
variants.all { configureCollectViolationsTask(it) }
} else {
configureCollectViolationsTask()
Expand Down

0 comments on commit a3e1b75

Please sign in to comment.