https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Marc

11/16/2023, 8:23 AM
Hello everyone. I am a bit puzzled after I installed the latest version of IntelliJ Idea (2023.2.5), there is no project template for "kotlin multiplatform" anymore. Is it only available on Android Studio (because it was availble before I had to reinstall my system)?
m

Marc

11/16/2023, 8:57 AM
Thanks. I must agree with the other post: using an external tool with a zip I have to extract just doesnt feel "integrated" like in IDE.
👍 2
Running
./gradlew build desktopRun
(or
jvmRun
) on the project generated by this site fails due to
No main class specified and classpath is not an executable jar.
I would expect to have a working project 🤔
f

Florian Kistner [JB]

11/23/2023, 12:32 AM
Hi! What do you see with
./gradlew run
?
k

Konstantin Tskhovrebov

11/23/2023, 6:20 PM
@Marc Could you show an output of
kdoctor -a -v
from the project root dir?
f

Filip Piechowski

11/27/2023, 7:58 PM
I have the same problem, but following @Florian Kistner [JB] advice I tried using just
run
instead of
jvmRun
and then it works, the app starts. I don't know what causes it, I was copying gradle files generated by https://terrakok.github.io/Compose-Multiplatform-Wizard/ to my multiplatform project and at some point it looses ability to accept value of
compose.desktop.application.mainClass
in jvmRun task. The generated template itself work with jvmRun out of the box
5 Views