Skip to content

Commit

Permalink
Optionally generate jacoco html report
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Apr 28, 2018
1 parent 049723f commit c1e5b28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Expand Up @@ -91,7 +91,8 @@ dependencies {
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
html.enabled project.hasProperty('jacoco_htmlReport') \
&& 'true' == project.property('jacoco_htmlReport')
}
}

Expand Down
2 changes: 2 additions & 0 deletions gradle.properties.template
Expand Up @@ -5,3 +5,5 @@ sonatype_password=

bintray_user=
bintray_key=

jacoco_htmlReport = true

0 comments on commit c1e5b28

Please sign in to comment.