File tree Expand file tree Collapse file tree 8 files changed +50
-4
lines changed Expand file tree Collapse file tree 8 files changed +50
-4
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,6 @@ javadoc {
7373 options. use = " true"
7474 options. charSet = " UTF-8"
7575 options. encoding = " UTF-8"
76- // disable doclint for JDK8, more quiet output
77- if (JavaVersion . current(). isJava8Compatible()){
78- options. addStringOption(' Xdoclint:none' , ' -quiet' )
79- }
8076 source = sourceSets. main. allJava // main only, exclude tests
8177}
8278
Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ dependencies {
2121 testCompile project(' :jme3-testdata' )
2222}
2323
24+ javadoc {
25+ // Disable doclint for JDK8+.
26+ if (JavaVersion . current(). isJava8Compatible()){
27+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
28+ }
29+ }
30+
2431task updateVersionPropertiesFile {
2532 def versionFile = file(' src/main/resources/com/jme3/system/version.properties' )
2633 def versionFileText = " # THIS IS AN AUTO-GENERATED FILE..\n " +
Original file line number Diff line number Diff line change @@ -5,3 +5,10 @@ if (!hasProperty('mainClass')) {
55dependencies {
66 compile project(' :jme3-core' )
77}
8+
9+ javadoc {
10+ // Disable doclint for JDK8+.
11+ if (JavaVersion . current(). isJava8Compatible()){
12+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
13+ }
14+ }
Original file line number Diff line number Diff line change @@ -18,3 +18,10 @@ dependencies {
1818 compile project(' :jme3-core' )
1919 compile project(' :jme3-terrain' )
2020}
21+
22+ javadoc {
23+ // Disable doclint for JDK8+.
24+ if (JavaVersion . current(). isJava8Compatible()){
25+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
26+ }
27+ }
Original file line number Diff line number Diff line change @@ -52,3 +52,11 @@ dependencies {
5252 runtime " org.lwjgl:lwjgl-openal:${ lwjglVersion} :natives-linux-arm64"
5353 runtime " org.lwjgl:lwjgl-openal:${ lwjglVersion} :natives-macos"
5454}
55+
56+ javadoc {
57+ // Disable doclint for JDK8+.
58+ if (JavaVersion . current(). isJava8Compatible()){
59+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
60+ }
61+ }
62+
Original file line number Diff line number Diff line change @@ -5,3 +5,10 @@ if (!hasProperty('mainClass')) {
55dependencies {
66 compile project(' :jme3-core' )
77}
8+
9+ javadoc {
10+ // Disable doclint for JDK8+.
11+ if (JavaVersion . current(). isJava8Compatible()){
12+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
13+ }
14+ }
Original file line number Diff line number Diff line change @@ -9,3 +9,10 @@ dependencies {
99 testCompile project(' :jme3-core' ). sourceSets. test. output
1010 testCompile project(' :jme3-testdata' )
1111}
12+
13+ javadoc {
14+ // Disable doclint for JDK8+.
15+ if (JavaVersion . current(). isJava8Compatible()){
16+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
17+ }
18+ }
Original file line number Diff line number Diff line change @@ -27,3 +27,10 @@ dependencies {
2727 runtime " org.lwjgl:lwjgl-openvr:${ lwjglVersion} :natives-linux"
2828 runtime " org.lwjgl:lwjgl-openvr:${ lwjglVersion} :natives-macos"
2929}
30+
31+ javadoc {
32+ // Disable doclint for JDK8+.
33+ if (JavaVersion . current(). isJava8Compatible()){
34+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments