Hey, probably a dumb question, but I've never work...
# getting-started
a
Hey, probably a dumb question, but I've never worked with kotlin before; I just created a new kotlin project in intellij, and now I want to add an external project to it (https://github.com/xenomachina/kotlin-argparser for instance). How do I go about this? Do I have to add a gradle file or somesuch?
n
what did you program in previously? are you familiar with the notion of a build tool?
a
Yeah, I've used gradle, cmake, make et al before
I was unsure whether intellij already made a choice for me in that regard when creating a project...
(or indeed what the idiomatic approach is, in the kotlin world)
a
it depends on what you want to do with it. If it's a pet-project to play around, you can use intellij only, if you need CI (without Teamcity)/other advanced stuff you are better off with gradle or another build tool
a
Cool, I think I'll just go with gradle. Thanks!
a
then create a
build.gradle
inside the project folder and the next time you open the project inside intellij it will inform you that you can enabled gradle for this project and it will sync the settings between gradle and intellij
👍 1