Update build.gradle

This commit is contained in:
Waterdev
2021-05-29 13:18:01 +02:00
committed by GitHub
parent 3d06de11dd
commit 862df48e5f

View File

@@ -1,6 +1,7 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.5.10'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.5.10'
id 'jacoco'
}
group 'org.wulkanat'
@@ -53,4 +54,11 @@ task fatJar(type: Jar) {
}
}
test {
finalizedBy jacocoTestReport // report is always generated after tests run
}
jacocoTestReport {
dependsOn test // tests are required to run before generating the report
}
apply plugin: 'kotlinx-serialization'