Is this a new project template? Anyway, thanks for...
# kotlin-toolchain
p
Is this a new project template? Anyway, thanks for supporting this, it is helpful!
a
Hi, I'd recommend either using
kotlin new
/
kotlin init
for creating projetcs, or using a KMP web wizard
@Paul at Avans Breda don't get me wrong, there is nothing wrong with using this wizard in IDE and the templates should be the latest and up-to-date, it's just my personal opinion that other wizards work better because they give you more control, but it's up to you, anyway soon the wizard in the IDE will be updated too to be more aligned with what we have in the web and CLI, so stay tuned and thanks for the supporting feedback! ❤️
p
@Anton Prokhorov yes, I can see the benefits of the other wizards if there is the slightest possibility that you want to extend your app to other platforms. However, I’m looking for a simpler less nested structure for students who only need a Kotlin Toolchain version of the ‘empty activity’ project template in Android Studio and never need to target another platform. The option I refer to fits this situation. (Although I now realise that for an introduction lesson into Compose creating a KMP which targets only desktop might be better with fast feedback loop.) So I’m little confused: is Kotlin Toolchain only intended for KMP in IntelliJ or will there also be wizards replacing the Gradle project templates in Android Studio? Context situation: our the students started learning Kotlin and created a Ktor backend (for which also multiple wizards exist that are not yet aligned). Previously they created an Android app in Android Studio using this Ktor backend. Now we let them choose for an Android or KMP app. We probably follow your advice above, it just needs to settle.
a
is Kotlin Toolchain only intended for KMP in IntelliJ
no, it's intended for everything (including desktop jvm apps, jvm CLI apps, or Android apps), it's just we now focus more on KMP
or will there also be wizards replacing the Gradle project templates in Android Studio?
Kotlin Toolchain plugin is available for Android studio, and whatever is available in IntelliJ should be also available in AS with some limitations (because the platform diverges a bit)
(for which also multiple wizards exist that are not yet aligned).
We will align wizards eventually (and will merge ktor wizard with our main wizard)
However, I’m looking for a simpler less nested structure for students who only need a Kotlin Toolchain version of the ‘empty activity’ project template in Android Studio and never need to target another platform.
Yup, for that you can use the template you mentioned (showed on the screenshot), it works, we maintain it