@@ -109,61 +109,25 @@ subprojects {
109
109
}
110
110
111
111
javadoc {
112
- def jdk = JavaVersion . current(). majorVersion
113
- def jdkJavadoc = " https://docs.oracle.com/javase/$jdk /docs/api/"
114
- if (JavaVersion . current(). isJava11Compatible()) {
115
- jdkJavadoc = " https://docs.oracle.com/en/java/javase/$jdk /docs/api/"
116
- }
117
112
options. with {
118
- links jdkJavadoc
113
+ links ' https://docs.oracle.com/javase/8/docs/api/ '
119
114
links ' https://projectreactor.io/docs/core/release/api/'
120
115
links ' https://netty.io/4.1/api/'
121
116
}
122
117
}
123
118
124
- tasks. named(" javadoc" ). configure {
125
- onlyIf { System . getenv(' SKIP_RELEASE' ) != " true" }
126
- }
127
-
128
119
test {
129
120
useJUnitPlatform()
130
121
131
- systemProperty " io.netty.leakDetection.level" , " ADVANCED"
132
- }
133
-
134
- // all test tasks will show FAILED for each test method,
135
- // common exclusions, no scanning
136
- project. tasks. withType(Test ). all {
137
122
testLogging {
138
- events " FAILED"
139
- showExceptions true
140
- exceptionFormat " FULL"
141
- stackTraceFilters " ENTRY_POINT"
142
- maxGranularity 3
123
+ events " started" , " passed" , " skipped" , " failed"
143
124
}
144
125
145
- if (JavaVersion . current(). isJava9Compatible()) {
146
- println " Java 9+: lowering MaxGCPauseMillis to 20ms in ${ project.name} ${ name} "
147
- jvmArgs = [" -XX:MaxGCPauseMillis=20" ]
148
- }
126
+ systemProperty " io.netty.leakDetection.level" , " ADVANCED"
127
+ }
149
128
150
- systemProperty(" java.awt.headless" , " true" )
151
- systemProperty(" reactor.trace.cancel" , " true" )
152
- systemProperty(" reactor.trace.nocapacity" , " true" )
153
- systemProperty(" testGroups" , project. properties. get(" testGroups" ))
154
- scanForTestClasses = false
155
- exclude ' **/*Abstract*.*'
156
-
157
- // allow re-run of failed tests only without special test tasks failing
158
- // because the filter is too restrictive
159
- filter. setFailOnNoMatchingTests(false )
160
-
161
- // display intermediate results for special test tasks
162
- afterSuite { desc , result ->
163
- if (! desc. parent) { // will match the outermost suite
164
- println (' \n ' + " ${ desc} Results: ${ result.resultType} (${ result.testCount} tests, ${ result.successfulTestCount} successes, ${ result.failedTestCount} failures, ${ result.skippedTestCount} skipped)" )
165
- }
166
- }
129
+ tasks. named(" javadoc" ). configure {
130
+ onlyIf { System . getenv(' SKIP_RELEASE' ) != " true" }
167
131
}
168
132
}
169
133
0 commit comments