diff --git a/tools/gradle/doctor.gradle b/tools/gradle/doctor.gradle index c77d2eb338..7a7adad062 100644 --- a/tools/gradle/doctor.gradle +++ b/tools/gradle/doctor.gradle @@ -54,7 +54,8 @@ doctor { /** * Warn when not using parallel GC. Parallel GC is faster for build type tasks and is no longer the default in Java 9+. */ - warnWhenNotUsingParallelGC = !isCiBuild + // Note: Actually, if set to true, it fails the build. See https://lightrun.com/answers/runningcode-gradle-doctor-warnwhennotusingparallelgc-fails-the-build-warn-is-a-confusing-keyword-here + warnWhenNotUsingParallelGC = false /** * Throws an error when the `Delete` or `clean` task has dependencies. * If a clean task depends on other tasks, clean can be reordered and made to run after the tasks that would produce @@ -82,7 +83,7 @@ doctor { /** * Fail on any `JAVA_HOME` issues. */ - failOnError.set(!isCiBuild) + failOnError.set(false) /** * Extra message text, if any, to show with the Gradle Doctor message. This is useful if you have a wiki page or * other instructions that you want to link for developers on your team if they encounter an issue.