Enable JaCoCo code coverage reports

This commit is contained in:
Felipe Knorr Kuhn 2023-06-30 00:22:58 -07:00
parent 87e2da0e01
commit d723641c7a
No known key found for this signature in database
GPG key ID: 79619B52BB097C1A

View file

@ -5,6 +5,7 @@ plugins {
id 'org-openjfx-javafxplugin'
id 'extra-java-module-info'
id 'org.beryx.jlink' version '2.26.0'
id 'jacoco'
}
def sparrowVersion = '1.7.8'
@ -158,6 +159,15 @@ processResources {
test {
jvmArgs '--add-opens=java.base/java.io=com.google.gson'
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
}
jacoco {
toolVersion = '0.8.10'
}
run {