File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,20 @@ tasks {
85
85
duplicatesStrategy = DuplicatesStrategy .FAIL
86
86
}
87
87
88
+ named<Javadoc >(" javadoc" ) {
89
+ with (options as StandardJavadocDocletOptions ) {
90
+ source = " 8"
91
+ encoding = " UTF-8"
92
+ docEncoding = " UTF-8"
93
+ charSet = " UTF-8"
94
+ breakIterator(true )
95
+
96
+ addStringOption(" Xdoclint:none" , " -quiet" )
97
+ // non-standard option to fail on warnings, see https://bugs.openjdk.java.net/browse/JDK-8200363
98
+ addStringOption(" Xwerror" , " -quiet" )
99
+ }
100
+ }
101
+
88
102
withType<AbstractArchiveTask >().configureEach {
89
103
isPreserveFileTimestamps = false
90
104
isReproducibleFileOrder = true
Original file line number Diff line number Diff line change @@ -87,6 +87,21 @@ configurations.all {
87
87
}
88
88
89
89
tasks {
90
+ // FIXME (trask) copy-pasted from ai.java-conventions.gradle
91
+ named<Javadoc >(" javadoc" ) {
92
+ with (options as StandardJavadocDocletOptions ) {
93
+ source = " 8"
94
+ encoding = " UTF-8"
95
+ docEncoding = " UTF-8"
96
+ charSet = " UTF-8"
97
+ breakIterator(true )
98
+
99
+ addStringOption(" Xdoclint:none" , " -quiet" )
100
+ // non-standard option to fail on warnings, see https://bugs.openjdk.java.net/browse/JDK-8200363
101
+ addStringOption(" Xwerror" , " -quiet" )
102
+ }
103
+ }
104
+
90
105
register<Test >(" smokeTest" ) {
91
106
useJUnitPlatform()
92
107
You can’t perform that action at this time.
0 commit comments