From c3c14cfdb9c08f535ddbb38f7599515a666dbe34 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 17 Apr 2020 10:29:40 +0200 Subject: [PATCH] gradle: remove nonStrictJavadocProjects This become obsolete with 1a3067c89 ("Enable werror for javadoc and fix javadoc issues"), which enabled 'werror' for javadoc on all projects. --- build.gradle | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/build.gradle b/build.gradle index b0a81ba9f..5ced307b4 100644 --- a/build.gradle +++ b/build.gradle @@ -101,20 +101,6 @@ allprojects { ':smack-omemo-signal-integration-test', ':smack-repl' ].collect{ project(it) } - // When this list is empty, then move the according javadoc - // tool Werror option into the global configure section. - nonStrictJavadocProjects = [ - ':smack-bosh', - ':smack-core', - ':smack-experimental', - ':smack-extensions', - ':smack-im', - ':smack-integration-test', - ':smack-jingle-old', - ':smack-legacy', - ':smack-omemo', - ':smack-tcp', - ].collect{ project(it) } // Lazily evaluate the Android bootClasspath and offline // Javadoc using a closure, so that targets which do not // require it are still able to succeed without an Android @@ -571,15 +557,6 @@ subprojects*.jar { } } -configure(subprojects - nonStrictJavadocProjects) { - tasks.withType(Javadoc) { - // Abort on javadoc warnings. - // See JDK-8200363 (https://bugs.openjdk.java.net/browse/JDK-8200363) - // for information about the -Xwerror option. - options.addStringOption('Xwerror', '-quiet') - } -} - configure(subprojects - gplLicensedProjects) { checkstyle { configProperties.checkstyleLicenseHeader = "header"