Extra - Added Jacoco for test coverage analysis
authorJeanderson Candido <jeandersonbc@gmail.com>
Wed, 20 Jun 2018 02:35:29 +0000 (23:35 -0300)
committerJeanderson Candido <jeandersonbc@gmail.com>
Wed, 20 Jun 2018 02:35:29 +0000 (23:35 -0300)
build.gradle

index 847a5dd..c2db9bc 100644 (file)
@@ -1,6 +1,7 @@
 plugins {
     id "com.gradle.build-scan" version "1.14"
     id "java"
+    id "jacoco"
 }
 
 sourceCompatibility = 1.8
@@ -19,6 +20,13 @@ buildScan {
     termsOfServiceAgree = 'yes'
 }
 
+jacocoTestReport {
+    reports {
+        xml.enabled = true
+        html.enabled = false
+    }
+}
+
 repositories {
     mavenCentral()
 }