Wizard: add kotlin native console application template

This commit is contained in:
Ilya Kirillov
2020-01-15 16:11:28 +03:00
parent 9e96cd4507
commit 479f6a4402
12 changed files with 97 additions and 33 deletions
@@ -18,13 +18,7 @@ kotlin {
else if (isMingwX64) nativeTarget = mingwX64("myNative")
else throw new GradleException("Host OS is not supported in Kotlin/Native.")
nativeTarget.with {
binaries {
executable {
entryPoint = 'MAIN CLASS'
}
}
}
sourceSets {
myNativeMain {
@@ -8,13 +8,7 @@ repositories {
mavenCentral()
}
kotlin {
linuxX64 {
binaries {
executable {
entryPoint = 'MAIN CLASS'
}
}
}
linuxX64()
sourceSets {
linuxX64Main {