File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed
Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,8 @@ tasks.withType(JavaCompile) {
211211 }
212212}
213213
214- tasks. withType(Test ) {
214+ test {
215+ useJUnitPlatform()
215216 testLogging {
216217 exceptionFormat = " full"
217218 }
@@ -223,21 +224,11 @@ tasks.withType(Test) {
223224 outputs. upToDateWhen { false }
224225}
225226
227+
226228tasks. withType(GenerateModuleMetadata ) {
227229 enabled = false
228230}
229231
230- jacoco {
231- reportsDirectory = file(" $buildDir /reports/jacoco" )
232- }
233-
234- jacocoTestReport {
235- reports {
236- xml. required = true // coveralls plugin depends on xml format report
237- html. required = true
238- }
239- }
240-
241232artifacts {
242233 archives sourcesJar, javadocJar
243234}
@@ -249,10 +240,6 @@ spotless {
249240 }
250241}
251242
252- test {
253- useJUnitPlatform()
254- }
255-
256243publishing {
257244 publications {
258245 boxJavaSdk(MavenPublication ) {
@@ -343,8 +330,3 @@ jacocoTestReport {
343330 html. required = true
344331 }
345332}
346-
347- coverallsJacoco {
348- sourceDirs = files(" src/main/java" )
349- jacocoReportPath = file(" ${ buildDir} /reports/jacoco/test/jacocoTestReport.xml" )
350- }
You can’t perform that action at this time.
0 commit comments