From a56a3616dcaf7c22ab2d1bbec5caa3d60ee286b3 Mon Sep 17 00:00:00 2001 From: Ben Liblit Date: Thu, 21 Dec 2017 09:07:48 -0600 Subject: [PATCH] Selectively disable some Gradle linter rules Specifically, we're not really in a position now to deal with duplicated classes among our dependencies. Maybe we can try harder to examine those in the future, but for now they are a distraction from other issues that we can attack more readily. --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2a6b39d28..84ec94180 100644 --- a/build.gradle +++ b/build.gradle @@ -74,7 +74,13 @@ buildscript { allprojects { apply plugin: 'nebula.lint' gradleLint.alwaysRun = false - gradleLint.rules = ['all-dependency'] + gradleLint { + rules = ['all-dependency'] + excludedRules = [ + 'duplicate-dependency-class', + 'transitive-duplicate-dependency-class', + ] + } }