0

add JaCoCo

This commit is contained in:
2021-10-07 01:45:02 +03:00
parent a871175d38
commit ba58bc463d

View File

@@ -1,5 +1,6 @@
plugins { plugins {
id 'java' id 'java'
id 'jacoco'
} }
def publishScript = file(rootProject.getProjectDir().getPath() + '/publish.gradle') def publishScript = file(rootProject.getProjectDir().getPath() + '/publish.gradle')
@@ -76,4 +77,12 @@ dependencies {
test { test {
useJUnitPlatform() useJUnitPlatform()
} }
jacoco {
toolVersion = '0.8.5'
}
jacocoTestReport {
dependsOn test
}