From 5a8f2d7fb361190c15ae7692fd12904394ea9a70 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 30 Aug 2016 11:55:27 -0400 Subject: [PATCH] Disable logger usage checks This commit disables the logger usage checks as they will not be compatible with Log4j 2. This disabling is temporary, they will return. --- .../org/elasticsearch/gradle/precommit/PrecommitTasks.groovy | 2 +- test/logger-usage/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/PrecommitTasks.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/PrecommitTasks.groovy index a5e1e4c8932..8de6fb46789 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/PrecommitTasks.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/PrecommitTasks.groovy @@ -59,7 +59,7 @@ class PrecommitTasks { * use the NamingConventionsCheck we break the circular dependency * here. */ - precommitTasks.add(configureLoggerUsage(project)) + // precommitTasks.add(configureLoggerUsage(project)) } diff --git a/test/logger-usage/build.gradle b/test/logger-usage/build.gradle index 1a5815cf76e..bf518a8e4d3 100644 --- a/test/logger-usage/build.gradle +++ b/test/logger-usage/build.gradle @@ -24,7 +24,7 @@ dependencies { testCompile "org.elasticsearch.test:framework:${version}" } -loggerUsageCheck.enabled = false +// loggerUsageCheck.enabled = false forbiddenApisMain.enabled = true // disabled by parent project forbiddenApisMain {