Skip to content

Commit 8fb8bc4

Browse files
committed
add fix to java 8 break in gradle build
1 parent c9962e7 commit 8fb8bc4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ allprojects {
2727
*/
2828
allprojects { project ->
2929

30+
//Skip Javadoc generation for Java 1.8 as it breaks build
31+
if (JavaVersion.current().isJava8Compatible()) {
32+
allprojects {
33+
tasks.withType(Javadoc) {
34+
options.addStringOption('Xdoclint:none', '-quiet')
35+
}
36+
}
37+
}
38+
3039
// Get constants, this is where we store things
3140
// like the list of submodules or the version
3241
project.apply from: "$rootDir/common/constants.gradle"

0 commit comments

Comments
 (0)