HHH-13682 Remove unnecessary checks around Java 8 compatibility
The build requires JDK8+, so we're alwways Java 8 compatible.
This commit is contained in:
parent
40d82d6370
commit
9a45c1c9f1
|
@ -139,9 +139,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:
|
||||
|
|
|
@ -130,9 +130,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 :(
|
||||
|
|
Loading…
Reference in New Issue