From f5bc03b02dbbda0da1b824be072a2cd0b2f198f2 Mon Sep 17 00:00:00 2001 From: Konstantin Kolchurin Date: Sat, 7 Sep 2024 03:43:47 +0700 Subject: [PATCH] #762 fix duplicate of code --- .../icerock/gradle/generator/platform/apple/SetupAppleUtils.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/resources-generator/src/main/kotlin/dev/icerock/gradle/generator/platform/apple/SetupAppleUtils.kt b/resources-generator/src/main/kotlin/dev/icerock/gradle/generator/platform/apple/SetupAppleUtils.kt index 3a057fc2..1d1df3a5 100644 --- a/resources-generator/src/main/kotlin/dev/icerock/gradle/generator/platform/apple/SetupAppleUtils.kt +++ b/resources-generator/src/main/kotlin/dev/icerock/gradle/generator/platform/apple/SetupAppleUtils.kt @@ -160,7 +160,6 @@ internal fun registerCopyFrameworkResourcesToAppTask( val configName: String = (configMap[configuration]?.name ?: configuration).lowercase() // Map any configuration to standard with two types: "Debug/Release" builds - val clearConfigurationName: String = when{ val clearConfigurationName: String = when { configName.matches(".*debug.*".toRegex()) -> "debug" configName.matches(".*release.*".toRegex()) -> "release"