diff --git a/buildSrc/src/main/kotlin/jacoco-kotlin-jvm.gradle.kts b/buildSrc/src/main/kotlin/jacoco-kotlin-jvm.gradle.kts index b888668..64c11a4 100644 --- a/buildSrc/src/main/kotlin/jacoco-kotlin-jvm.gradle.kts +++ b/buildSrc/src/main/kotlin/jacoco-kotlin-jvm.gradle.kts @@ -25,11 +25,6 @@ */ import io.spine.internal.gradle.buildDirectory -import java.io.File -import org.gradle.kotlin.dsl.getValue -import org.gradle.kotlin.dsl.getting -import org.gradle.kotlin.dsl.jacoco -import org.gradle.testing.jacoco.tasks.JacocoReport plugins { jacoco @@ -54,6 +49,7 @@ private val about = "" /** * Configure Jacoco task with custom input from this Kotlin Multiplatform project. */ +@Suppress("unused") val jacocoTestReport: JacocoReport by tasks.getting(JacocoReport::class) { val classFiles = File("$buildDirectory/classes/kotlin/jvm/")