https://kotlinlang.org logo
Title
l

lclc

10/17/2017, 12:21 PM
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

tarek

10/17/2017, 12:34 PM
Gradle is the way to go
l

lclc

10/17/2017, 12:42 PM
@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

tarek

10/17/2017, 12:44 PM
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

karelpeeters

10/17/2017, 12:59 PM
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

lclc

10/17/2017, 1:15 PM
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

karelpeeters

10/17/2017, 1:29 PM
I personally prefer to create it myself, I don't really trust the Idea generator ☺️.
l

lclc

10/17/2017, 1:33 PM
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

karelpeeters

10/17/2017, 1:35 PM
Of course, good luck!
👍 1
🙂 1
p

poohbar

10/17/2017, 4:05 PM
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 😞