Andrew
09/25/2023, 2:48 PM...
> Task :compileKotlinNative NO-SOURCE
Skipping task ':compileKotlinNative' as it has no source files and no previous output files.
Resolve mutations for :linkDebugExecutableNative (Thread[#345,Execution worker,5,main]) started.
:linkDebugExecutableNative (Thread[#356,Execution worker Thread 11,5,main]) started.
...
// build.gradle.kts
plugins {
kotlin("multiplatform") version "1.9.10"
}
repositories {
mavenCentral()
}
kotlin {
linuxX64("native") {
binaries {
executable()
}
}
}
tasks.withType<Wrapper> {
gradleVersion = "8.3"
distributionType = Wrapper.DistributionType.BIN
}
settings.gradle.kts
is empty, and there source code is:
// src/kotlinMain/kotlin/hello.kt
fun main() {
println("Hello, Kotlin/Native!")
}
Adam S
09/25/2023, 8:50 PMsrc/kotlinMain
should be src/commonMain
Andrew
09/25/2023, 9:11 PM