From 82d6523ca20f6d3437caedb16bffbcaed5f5ec04 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Thu, 28 Jun 2018 00:02:48 -0700 Subject: [PATCH] [SHIBUI-628] Added JaCoCo to the build using mostly the defaults. More to come. --- backend/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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