Skip to content
Prev Previous commit
Next Next commit
Added Jacoco plugin to build file
  • Loading branch information
rishavs committed Nov 26, 2018
commit 76ae32e5375ef258394691a5c8f2c687355c42cf
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'jacoco'

group = 'helloworld'
version = '1.0-SNAPSHOT'
Expand All @@ -16,3 +17,12 @@ repositories {
dependencies {
testCompile group: 'junit', name: 'junit', version:'4.11'
}

jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}

check.dependsOn jacocoTestReport