Wizard: remove redundant return in native target configuration

#KT-35720 fixed
This commit is contained in:
Ilya Kirillov
2020-01-13 16:00:45 +03:00
parent bfe3b58264
commit 2df499b12d
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@ kotlin {
org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithTests nativeTarget
if (hostOs == "Mac OS X") nativeTarget = macosX64('myNative')
else if (hostOs == "Linux") nativeTarget = linuxX64("myNative")
else if (isMingwX64) return nativeTarget = mingwX64("myNative")
else if (isMingwX64) nativeTarget = mingwX64("myNative")
else throw new GradleException("Host OS is not supported in Kotlin/Native.")
nativeTarget.with {