mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-11-25 14:24:47 +00:00
Only disable doclint if using java 8
This commit is contained in:
1 parent
89122240c1
commit
1db9d09a4e
1 file changed
+4
-1
+4
-1
@@ -102,7 +102,10 @@ task deobfJar(type: Jar) {
|
||||
}
|
||||
|
||||
javadoc {
|
||||
options.addStringOption('Xdoclint:none', '-quiet')
|
||||
if (JavaVersion.current().isJava8Compatible()) {
|
||||
options.addStringOption('Xdoclint:none')
|
||||
}
|
||||
options.addStringOption('-quiet')
|
||||
include 'com/enderio/core/**/*'
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user