Skip to content

Commit c047bef

Browse files
committed
fixes
1 parent 84cf0f6 commit c047bef

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

build.gradle

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff 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+
226228
tasks.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-
241232
artifacts {
242233
archives sourcesJar, javadocJar
243234
}
@@ -249,10 +240,6 @@ spotless {
249240
}
250241
}
251242

252-
test {
253-
useJUnitPlatform()
254-
}
255-
256243
publishing {
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-
}

0 commit comments

Comments
 (0)