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 {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
jcenter() // needed for detekt 1.16.0
|
jcenter() // needed for detekt 1.16.0
|
||||||
|
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -68,12 +69,6 @@ val javadocJar by tasks.creating(Jar::class) {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
withType<JacocoReport> {
|
|
||||||
reports {
|
|
||||||
xml.isEnabled = true
|
|
||||||
html.isEnabled = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
withType<KotlinCompile>().configureEach {
|
withType<KotlinCompile>().configureEach {
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
|
@ -83,6 +78,18 @@ tasks {
|
||||||
destination = file("$projectDir/pom.xml")
|
destination = file("$projectDir/pom.xml")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jacoco {
|
||||||
|
toolVersion = "0.8.7-SNAPSHOT"
|
||||||
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
dependsOn(test)
|
||||||
|
reports {
|
||||||
|
xml.isEnabled = true
|
||||||
|
html.isEnabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
assemble {
|
assemble {
|
||||||
dependsOn(javadocJar)
|
dependsOn(javadocJar)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue