From b01dd6280b6fde090cac9002e919386b3ddfa67c Mon Sep 17 00:00:00 2001 From: Shridhar Goel <35566748+ShridharGoel@users.noreply.github.com> Date: Sun, 18 Sep 2022 01:38:08 +0530 Subject: [PATCH] Remove config for JavaCompile in gradle --- build.gradle | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/build.gradle b/build.gradle index e8347f68db3e..4030edebc01e 100644 --- a/build.gradle +++ b/build.gradle @@ -72,17 +72,6 @@ subprojects { } } - // Deprecation is an error. Use @SuppressWarnings("deprecation") and justify in the PR if you must - project.tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:deprecation" << "-Xlint:fallthrough" << "-Xmaxwarns" << "1000" << "-Werror" - - // https://guides.gradle.org/performance/#compiling_java - // 1- fork improves things over time with repeated builds, doesn't harm CI single builds - options.fork = true - // 2- incremental will be the default in the future and can help now - options.incremental = true - } - ktlint { // remove version override when ktlint gradle plugin releases with 0.45+ transitive // check for "ktlint" here: