Skip to content

Commit 69fd014

Browse files
committed
Merge pull request #175 from jirungaray/master
Fix Java 8 JavaDoc issue
2 parents c9962e7 + 53e1199 commit 69fd014

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)