Skip to content

Commit

Permalink
Revert "Fix coverage reports (#13)"
Browse files Browse the repository at this point in the history
This reverts commit fdd966a
  • Loading branch information
monosoul committed Aug 8, 2022
1 parent a35487b commit 4cf2283
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ group = "com.github.monosoul"
plugins {
id("org.jetbrains.intellij") version "1.8.0"
kotlin("jvm") version "1.7.10"
id("org.jetbrains.kotlinx.kover") version "0.5.1"
}

kover {
generateReportOnCheck = true
jacoco
}

intellij {
Expand All @@ -36,6 +32,14 @@ dependencies {
}

tasks {
val jacocoTestReport = "jacocoTestReport"(JacocoReport::class) {
reports {
xml.required.set(true)
html.required.set(false)
}
shouldRunAfter(test)
}

publishPlugin {
token.set(
project.findProperty("intellij.publish.token") as String?
Expand All @@ -47,10 +51,6 @@ tasks {
untilBuild.set("")
}

koverHtmlReport {
isEnabled = false
}

test {
useJUnitPlatform()
jvmArgs(
Expand All @@ -65,6 +65,10 @@ tasks {
}
}

check {
dependsOn(jacocoTestReport)
}

withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
Expand Down

0 comments on commit 4cf2283

Please sign in to comment.