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
Landry Norris
12/28/2021, 9:19 PM
gradlew tasks confirms that there’s no run task, and when I try to run the tests, it skips the test task.