I’ve been using kotlin for the past 2 weeks or so.
I would appreciate if someone could tell me How to get started in IntelliJ using an NPM equivalent. I was able to right-click on my project module settings and select from a Maven repository an org.something library to download just to try it out.
I understand there is some xmlish
pom.xml in Java projects
I understand that there is something called
build.gradle.kts and I dont see it in IntelliJ project directory.
So as I setup up the typical Kotlin project there I see:
amongst External dependencies but its not clear where do I find a package file as such.
I see it in the project module settings as I previously mentioned. but no
build.gradle.kts (or is there supposed to be one?)
Also, When to use Maven/Gradle? And in the typical InteliJ kotlin project setup I assume it is gradle. So when/how do I switch to Maven ?
And I see both com.something.gradle and maven libraries over there. So what is the difference?
Also, I understand there is some xmlish
pom.xml in Java projects. If the gradle equivalent