1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

gradle: remove nonStrictJavadocProjects

This become obsolete with 1a3067c89 ("Enable werror for javadoc and
fix javadoc issues"), which enabled 'werror' for javadoc on all
projects.
This commit is contained in:
Florian Schmaus 2020-04-17 10:29:40 +02:00
parent 0f7b7df1f0
commit c3c14cfdb9

View file

@ -101,20 +101,6 @@ allprojects {
':smack-omemo-signal-integration-test', ':smack-omemo-signal-integration-test',
':smack-repl' ':smack-repl'
].collect{ project(it) } ].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 // Lazily evaluate the Android bootClasspath and offline
// Javadoc using a closure, so that targets which do not // Javadoc using a closure, so that targets which do not
// require it are still able to succeed without an Android // 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) { configure(subprojects - gplLicensedProjects) {
checkstyle { checkstyle {
configProperties.checkstyleLicenseHeader = "header" configProperties.checkstyleLicenseHeader = "header"