Generate jacoco test coverage reports with target jacocoTestReport
@@ -11,6 +11,7 @@ buildscript {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
+apply plugin: 'jacoco'
repositories {
mavenCentral()
@@ -38,3 +39,8 @@ shadowJar {
attributes "Main-Class": "marquez.MarquezApplication"
}
}
+
+jacoco {
+ toolVersion = "0.8.1"
+ reportsDir = file("$buildDir/marquez_unit_test_report")
+}
