From 95385fa8f4eabae0ba5008e0284e39cbde5d5c85 Mon Sep 17 00:00:00 2001 From: Alinson Xavier Date: Fri, 26 May 2017 18:38:08 -0400 Subject: [PATCH] Activate coverage report for uhabits-core --- uhabits-core/build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/uhabits-core/build.gradle b/uhabits-core/build.gradle index 9cb41dc49..fc0189b05 100644 --- a/uhabits-core/build.gradle +++ b/uhabits-core/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'java' +apply plugin: 'jacoco' dependencies { @@ -22,5 +23,14 @@ dependencies { compile 'junit:junit:4.12' } +jacocoTestReport { + reports { + xml.enabled = true + html.enabled = true + } +} + +check.dependsOn jacocoTestReport + sourceCompatibility = "1.8" targetCompatibility = "1.8"