Wizard: add kotlin native console application template
This commit is contained in:
+1
-7
@@ -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 {
|
||||
|
||||
|
||||
+1
-7
@@ -8,13 +8,7 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
kotlin {
|
||||
linuxX64 {
|
||||
binaries {
|
||||
executable {
|
||||
entryPoint = 'MAIN CLASS'
|
||||
}
|
||||
}
|
||||
}
|
||||
linuxX64()
|
||||
sourceSets {
|
||||
linuxX64Main {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user