Skip to content

Commit

Permalink
build(gradle): Apply and configure jacoco plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
guicamest committed Nov 5, 2023
1 parent 04fc955 commit 098088c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.9.10'
id 'java-library'
id 'jvm-test-suite'
id 'jacoco'
id "org.jlleitschuh.gradle.ktlint" version "11.6.1"
}

Expand All @@ -17,6 +18,10 @@ dependencies {
ktlintRuleset project(":custom-ktlint-rules")
}

jacoco {
toolVersion = "0.8.11"
}

ktlint {
version = "1.0.1"
}
Expand Down Expand Up @@ -54,6 +59,10 @@ tasks.named('check') {
dependsOn(testing.suites.integrationTest)
}

jacocoTestReport {
dependsOn test
}

java {
withSourcesJar()
}
Expand Down

0 comments on commit 098088c

Please sign in to comment.