From 727e18e23901fcc15297699b222808e61b895cb2 Mon Sep 17 00:00:00 2001 From: Aleksey Mikhailov Date: Sat, 13 Jan 2024 20:43:26 +0700 Subject: [PATCH] #535 fix detekt --- .../kotlin/dev/icerock/gradle/extra/mokoResourcesGenTask.kt | 3 ++- .../dev/icerock/gradle/extra/mokoResourcesSourceDirectory.kt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesGenTask.kt b/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesGenTask.kt index a5265103..38b40a3b 100644 --- a/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesGenTask.kt +++ b/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesGenTask.kt @@ -2,6 +2,8 @@ * Copyright 2024 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. */ +@file:Suppress("Filename") + package dev.icerock.gradle.extra import dev.icerock.gradle.MultiplatformResourcesPluginExtension @@ -17,7 +19,6 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet import org.jetbrains.kotlin.tooling.core.extrasKeyOf import java.io.File - private fun mokoResourcesGenTaskKey() = extrasKeyOf>("moko-resources-generate-task") diff --git a/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesSourceDirectory.kt b/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesSourceDirectory.kt index 388a2697..64611301 100644 --- a/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesSourceDirectory.kt +++ b/resources-generator/src/main/kotlin/dev/icerock/gradle/extra/mokoResourcesSourceDirectory.kt @@ -2,6 +2,8 @@ * Copyright 2024 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. */ +@file:Suppress("Filename") + package dev.icerock.gradle.extra import org.gradle.api.file.SourceDirectorySet