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 847a5dd7f8fc7b3bc60ac01845df35bfbcdf58b4..c2db9bc257ccfe0da29e0bf5fc4166d8ac92ac67 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()
 }