From 7d8c2b1db4885e50c826e6603d3f00a436670143 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Sat, 1 Jun 2024 15:43:10 +0100 Subject: [PATCH] Restore the script to the previous state --- buildSrc/src/main/kotlin/jacoco-kotlin-jvm.gradle.kts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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/")