Using Jacoco snapshot.
This commit is contained in:
parent
064ca8e41f
commit
884dde8102
1 changed files with 13 additions and 6 deletions
|
@ -29,6 +29,7 @@ var semverProcessor = "net.thauvin.erik:semver:1.2.0"
|
|||
repositories {
|
||||
mavenCentral()
|
||||
jcenter() // needed for detekt 1.16.0
|
||||
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -68,12 +69,6 @@ val javadocJar by tasks.creating(Jar::class) {
|
|||
}
|
||||
|
||||
tasks {
|
||||
withType<JacocoReport> {
|
||||
reports {
|
||||
xml.isEnabled = true
|
||||
html.isEnabled = true
|
||||
}
|
||||
}
|
||||
|
||||
withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
|
@ -83,6 +78,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