Using Jacoco snapshot.
This commit is contained in:
parent
22e23c63e5
commit
2ff60e434c
1 changed files with 13 additions and 7 deletions
|
@ -32,6 +32,7 @@ val versions: VersionInfo by extra { VersionInfo }
|
|||
repositories {
|
||||
mavenCentral()
|
||||
jcenter() // needed for detekt 1.16.0
|
||||
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -71,13 +72,6 @@ tasks {
|
|||
useTestNG()
|
||||
}
|
||||
|
||||
withType<JacocoReport> {
|
||||
reports {
|
||||
xml.isEnabled = true
|
||||
html.isEnabled = true
|
||||
}
|
||||
}
|
||||
|
||||
withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
|
@ -86,6 +80,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