Wizard: move fqName to import in NativeTargetConfigurator

This commit is contained in:
Ilya Kirillov
2020-01-15 12:09:53 +03:00
parent 97416e651e
commit dd882c2717
2 changed files with 13 additions and 4 deletions
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithTests
plugins {
id 'org.jetbrains.kotlin.multiplatform' version '1.3.61'
}
@@ -10,7 +12,7 @@ repositories {
kotlin {
def hostOs = System.getProperty("os.name")
def isMingwX64 = hostOs.startsWith("Windows")
org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithTests nativeTarget
KotlinNativeTargetWithTests nativeTarget
if (hostOs == "Mac OS X") nativeTarget = macosX64('myNative')
else if (hostOs == "Linux") nativeTarget = linuxX64("myNative")
else if (isMingwX64) nativeTarget = mingwX64("myNative")