https://kotlinlang.org logo
#getting-started
Title
# getting-started
r

Ray Rahke

02/25/2024, 6:52 AM
What is the absolute minimum required to write Kotlin code and compile it to Javascript to display on a web browser? I don't want to setup a huge gradle project or have to use intellij
e

ephemient

02/25/2024, 8:05 AM
you don't need to use intellij, I do fine with just vim. but that only works after you already know your way around so I wouldn't recommend it until you're there
Gradle is "optional" in that it is technically possible to download and unpack the compiler distribution and dependency artifacts manually and run them directly. but that will be more complex than using a supported build system such as Gradle
a Gradle project does not have to be huge, you only need about a dozen lines of build configuration
l

Landry Norris

02/25/2024, 6:00 PM
Also look at #amper if you just want a smaller config. It will still be gradle under the hood.