Hello, I'm new to kotlin and I wanna know is there any SDK for kotlin ? I'm using inteliij IDEA, as you can see, there is a JDK but not a SDK for kotlin.
and I also wanna whether I should download some kotlin-ish thing with
apt
? I'm using ubuntu
l
Landry Norris
11/09/2022, 10:10 PM
There should be no need to install anything (if you need the command line tools for some reason, there’s a kotlin package for pacman, and I’d assume apt has something, but this shouldn’t be necessary when using gradle). You don’t really need a separate SDK for Kotlin. Kotlin/JVM uses the JDK, and Kotlin/Native pulls its own tools down.
x
xun su
11/09/2022, 10:19 PM
thanks, I'm a rookie to backend. for me, gradle is something like webpack/vite to bundle. right ?
l
Landry Norris
11/09/2022, 10:20 PM
gradle is the build system. When first starting, you’ll probably just be using the buttons in Android Studio or IntelliJ Idea, but they use gradle under the hood.
x
xun su
11/09/2022, 10:23 PM
thank you, seems that gradle has more functionality than webpack and vite.😀
a
andylamax
11/10/2022, 9:03 AM
yes, gradle does more than just bundling, it also handles dependency resolutions (something similar to npm/yarn), supports plugins to do custom things like pack builds to containers, deploy code to different environments, defining different sourceSets, joining different autonomis but dependent subprojects into a full blown project, and many more