diff --git a/backend/build.gradle b/backend/build.gradle index 47dab440a..7c34ae65a 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -8,6 +8,7 @@ plugins { } apply plugin: 'io.spring.dependency-management' +apply plugin: 'jacoco' sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -191,3 +192,15 @@ tasks.withType(JavaExec) { compileJava { dependsOn generateSources } + +jacoco { + toolVersion = '0.8.1' +} + +jacocoTestReport { + reports { + xml.enabled = false + csv.enabled = false + html.destination = file("${buildDir}/jacocoHtml") + } +} \ No newline at end of file