File tree Expand file tree Collapse file tree 1 file changed +15
-16
lines changed
Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,15 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
77group = " com.github.monosoul"
88
99plugins {
10- id(" org.jetbrains.intellij" ) version " 1.9.0"
11- kotlin(" jvm" ) version " 1.7.10"
12- jacoco
10+ id(" org.jetbrains.intellij" ) version " 1.10.0"
11+ kotlin(" jvm" ) version " 1.7.22"
12+ id(" org.jetbrains.kotlinx.kover" ) version " 0.6.1"
13+ }
14+
15+ kover {
16+ xmlReport {
17+ onCheck.set(true )
18+ }
1319}
1420
1521intellij {
@@ -27,19 +33,16 @@ dependencies {
2733 testImplementation(" org.junit.jupiter:junit-jupiter" )
2834 testImplementation(" org.junit.platform:junit-platform-launcher" )
2935 testImplementation(" io.strikt:strikt-jvm:0.34.1" )
30- testImplementation(" io.mockk:mockk-jvm:1.13.1" )
36+ testImplementation(" io.mockk:mockk-jvm" ) {
37+ version {
38+ strictly(" 1.13.1" )
39+ because(" versions higher than 1.13.1 cause failures" )
40+ }
41+ }
3142 testImplementation(" org.apache.commons:commons-lang3:3.12.0" )
3243}
3344
3445tasks {
35- val jacocoTestReport = " jacocoTestReport" (JacocoReport ::class ) {
36- reports {
37- xml.required.set(true )
38- html.required.set(false )
39- }
40- shouldRunAfter(test)
41- }
42-
4346 publishPlugin {
4447 token.set(
4548 project.findProperty(" intellij.publish.token" ) as String?
@@ -65,10 +68,6 @@ tasks {
6568 }
6669 }
6770
68- check {
69- dependsOn(jacocoTestReport)
70- }
71-
7271 withType<KotlinCompile > {
7372 kotlinOptions {
7473 jvmTarget = " 17"
You can’t perform that action at this time.
0 commit comments