Skip to content

Commit e21eeb8

Browse files
authored
Fix Jacoco Reports Coverage (#193)
1 parent 4fa44fb commit e21eeb8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ checkstyle {
8181
}
8282

8383
jacoco {
84-
toolVersion "0.8.8"
84+
toolVersion "0.8.11"
8585
}
8686

8787
jacocoTestReport {
@@ -155,6 +155,12 @@ prepareTestingSandbox.dependsOn( libs )
155155
prepareSandbox.dependsOn( libs )
156156

157157
test {
158+
// Idea SDK needs special configuration
159+
// see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-faq.html#jacoco-reports-0-coverage
160+
jacoco {
161+
includeNoLocationClasses = true
162+
excludes = ["jdk.internal.*"]
163+
}
158164
useJUnitPlatform()
159165
testLogging {
160166
exceptionFormat = 'full'

0 commit comments

Comments
 (0)