Using Jacoco snapshot.
This commit is contained in:
parent
2b295c0902
commit
9463c8e944
1 changed files with 13 additions and 7 deletions
|
@ -37,6 +37,7 @@ val versions: VersionInfo by extra { VersionInfo }
|
|||
repositories {
|
||||
mavenCentral()
|
||||
jcenter() // needed for Dokka
|
||||
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -89,13 +90,6 @@ tasks {
|
|||
useTestNG()
|
||||
}
|
||||
|
||||
withType<JacocoReport> {
|
||||
reports {
|
||||
xml.isEnabled = true
|
||||
html.isEnabled = true
|
||||
}
|
||||
}
|
||||
|
||||
withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
|
@ -104,6 +98,18 @@ tasks {
|
|||
destination = file("$projectDir/pom.xml")
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = "0.8.7-SNAPSHOT"
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
dependsOn(test)
|
||||
reports {
|
||||
xml.isEnabled = true
|
||||
html.isEnabled = true
|
||||
}
|
||||
}
|
||||
|
||||
assemble {
|
||||
dependsOn(javadocJar)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue