HHH-14323 Remove unnecessary checks around Java 8 compatibility

The build requires JDK8+, so we're alwways Java 8 compatible.
This commit is contained in:
Yoann Rodière 2020-04-03 10:20:45 +02:00
parent bbec5c3118
commit 96b2b71393
No known key found for this signature in database
GPG Key ID: B8D049359DC35ABC
2 changed files with 2 additions and 6 deletions

View File

@ -141,9 +141,7 @@ task aggregateJavadocs(type: Javadoc) {
options.source = project.baselineJavaVersion
}
if ( JavaVersion.current().isJava8Compatible() ) {
options.addStringOption( 'Xdoclint:none', '-quiet' )
}
options.addStringOption( 'Xdoclint:none', '-quiet' )
}
// process each project, building up:

View File

@ -131,9 +131,7 @@ javadoc {
options.source = project.baselineJavaVersion
}
if ( JavaVersion.current().isJava8Compatible() ) {
options.addStringOption( 'Xdoclint:none', '-quiet' )
}
options.addStringOption( 'Xdoclint:none', '-quiet' )
doFirst {
// ordering problems if we try to do this during config phase :(