This may be a stupid question, but I noticed in on...
# kotlin-native
l
This may be a stupid question, but I noticed in one of my projects that when I added cinterop to my targets like below, the run tasks for native disappeared. I’m having to run the link task to build the executable and run it manually. Is there something I’m doing wrong? Here is how I’m configuring my target
Copy code
binaries {
    executable()
}
val mainCompile = compilations["main"]
mainCompile.cinterops {
    val gtk3 by creating
    val ffmpeg by creating
}
mainCompile.enableEndorsedLibs = true
gradlew tasks confirms that there’s no run task, and when I try to run the tests, it skips the test task.
c
https://gitlab.com/gtk-kt/gtk-kt/-/blob/gtk-4/src/gtk/build.gradle.kts I suggest following the design my kts is following