make the gradle build quieter
also delete some obsolete stuff from before move to Java 11
This commit is contained in:
parent
d9bceb3a80
commit
ed52dba650
|
@ -36,16 +36,6 @@ javadoc {
|
|||
]
|
||||
tags = [ "apiNote", 'implSpec', 'implNote', 'todo' ]
|
||||
|
||||
if ( JavaVersion.current().isJava11Compatible() ) {
|
||||
//The need to set `--source 1.8` applies to all JVMs after 11, and also to 11
|
||||
// but after excluding the first two builds; see also specific comments on
|
||||
// https://bugs.openjdk.java.net/browse/JDK-8212233?focusedCommentId=14245762
|
||||
// For now, let's be compatible with JDK 11.0.3+. We can improve on it if people
|
||||
// complain they cannot build with JDK 11.0.0, 11.0.1 and 11.0.2.
|
||||
System.out.println("Forcing Javadoc in Java 8 compatible mode");
|
||||
options.source = gradle.ext.baselineJavaVersion
|
||||
}
|
||||
|
||||
addStringOption( 'Xdoclint:none', '-quiet' )
|
||||
|
||||
tags(
|
||||
|
|
|
@ -188,7 +188,7 @@ task copyBundleResources (type: Copy) {
|
|||
|
||||
processTestResources {
|
||||
dependsOn copyBundleResources
|
||||
duplicatesStrategy = DuplicatesStrategy.WARN
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
}
|
||||
|
||||
sourcesJar {
|
||||
|
|
|
@ -189,14 +189,6 @@ task aggregateJavadocs(type: Javadoc) {
|
|||
'https://jakarta.ee/specifications/platform/8/apidocs/'
|
||||
]
|
||||
|
||||
//The need to set `--source 1.8` applies to all JVMs after 11, and also to 11
|
||||
// but after excluding the first two builds; see also specific comments on
|
||||
// https://bugs.openjdk.java.net/browse/JDK-8212233?focusedCommentId=14245762
|
||||
// For now, let's be compatible with JDK 11.0.3+. We can improve on it if people
|
||||
// complain they cannot build with JDK 11.0.0, 11.0.1 and 11.0.2.
|
||||
logger.lifecycle "Forcing Javadoc in Java 8 compatible mode"
|
||||
options.source = gradle.ext.baselineJavaVersion
|
||||
|
||||
options.addStringOption( 'Xdoclint:none', '-quiet' )
|
||||
|
||||
if ( gradle.ext.javaToolchainEnabled ) {
|
||||
|
|
Loading…
Reference in New Issue