From e80a896bc54e110d405a7216d14f868fe0796805 Mon Sep 17 00:00:00 2001 From: Yang Date: Tue, 7 Nov 2023 17:30:04 +1100 Subject: [PATCH] Fix detekt. --- .../cache4k/buildlogic/convention/ConventionPlugin.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt b/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt index a48f4b9..7405a8d 100644 --- a/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt +++ b/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt @@ -13,7 +13,13 @@ import org.gradle.api.Project import org.gradle.api.tasks.testing.Test import org.gradle.jvm.toolchain.JavaLanguageVersion import org.gradle.jvm.toolchain.JvmVendorSpec -import org.gradle.kotlin.dsl.* +import org.gradle.kotlin.dsl.configure +import org.gradle.kotlin.dsl.creating +import org.gradle.kotlin.dsl.getValue +import org.gradle.kotlin.dsl.invoke +import org.gradle.kotlin.dsl.register +import org.gradle.kotlin.dsl.the +import org.gradle.kotlin.dsl.withType import org.jetbrains.dokka.gradle.DokkaMultiModuleTask import org.jetbrains.dokka.gradle.DokkaPlugin import org.jetbrains.kotlin.gradle.dsl.JsModuleKind @@ -183,6 +189,5 @@ private fun KotlinMultiplatformExtension.configureTargets(project: Project) { appleMain.get().dependsOn(nonJvm) linuxMain.get().dependsOn(nonJvm) mingwMain.get().dependsOn(nonJvm) - } }