Fixed jacoco reports.

This commit is contained in:
Erik C. Thauvin 2019-04-03 23:35:20 -07:00
parent aaa43c106e
commit f5f4a5cd8d

View file

@ -86,6 +86,7 @@ tasks {
withType<JacocoReport> { withType<JacocoReport> {
reports { reports {
xml.isEnabled = true
html.isEnabled = true html.isEnabled = true
} }
} }
@ -163,6 +164,10 @@ tasks {
group = PublishingPlugin.PUBLISH_TASK_GROUP group = PublishingPlugin.PUBLISH_TASK_GROUP
dependsOn("wrapper", bintrayUpload) dependsOn("wrapper", bintrayUpload)
} }
"sonarqube" {
dependsOn("jacocoTestReport")
}
} }
fun findProperty(s: String) = project.findProperty(s) as String? fun findProperty(s: String) = project.findProperty(s) as String?