Hi guys, I'm new to Kotlin and the Java world. I'v...
# getting-started
l
Hi guys, I'm new to Kotlin and the Java world. I've installed IntelliJ IDEA and am with a Kotlin video tutorial. Should I start with learning/using Maven or Gradle? What is the 'default' / better integrated with IntelliJ
t
Gradle is the way to go
l
@tarek do you have a good tutorial to start with Kotlin, IntelliJ and Gradle?
How do I use Gradle by default with new IntelliJ projects?
t
It depends on what kind of app you want to do. Kotlin can be used against the JVM, Android or JS If you are trying just to learn Kotlin, you can use a plain Kotlin file, no need for a build system like Gradle
k
You're probably looking for this: https://kotlinlang.org/docs/reference/using-gradle.html#targeting-the-jvm, don't forget to scroll down and also read the dependency section.
l
Thanks. @tarek I'd like to use the ZMQ library for a simple call, that's why I though I'll look into a dependency system
Thanks @karelpeeters
ah found it, I should create a Gradle Project and then pick Kotlin
k
I personally prefer to create it myself, I don't really trust the Idea generator ☺️.
l
I might do that ones I understand all the stuff around it 🙂 Having just started with IntelliJ, Kotlin, JVM and Gradle I try to keep things as simple as possible for now 😉
k
Of course, good luck!
👍 1
🙂 1
p
Maven works fine with Kotlin btw. I couldn't make the transition to Gradle. Too many things made too little sense. Everything seemed very ad-hoc to me 😞