Skip to content

Commit b7f5988

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,21 @@ allprojects {
2222
}
2323
}
2424

25+
//Skip Javadoc generation for Java 1.8 as it breaks build
26+
if (JavaVersion.current().isJava8Compatible()) {
27+
allprojects {
28+
tasks.withType(Javadoc) {
29+
options.addStringOption('Xdoclint:none', '-quiet')
30+
}
31+
}
32+
}
33+
2534
/**
2635
* Configure common tasks on all the submodules
2736
*/
2837
allprojects { project ->
2938

39+
3040
// Get constants, this is where we store things
3141
// like the list of submodules or the version
3242
project.apply from: "$rootDir/common/constants.gradle"

0 commit comments

Comments
 (0)