Kotlin with Maven

Kotlin is a modern language on the JVM. Created by JetBrains. Kotlin got popular with Android and Gradle however I would say it's an interesting solution also well for backend services. Kotlin has some interesting design choices and handy APIs and a good eco-system, which I will be covering in the next posts. Today I want to show how we can get Kotlin working on IntelliJ IDEA using maven as a build system. Most of the examples you will set out there on the web will be Gradle-based. Don't get me wrong Gradle rocks but maven still the dominant build system in Java land.  So we will see how to configure the build plugins and all dependencies needed in order to make no only Kotlin builds but also integration with Junit and unit tests. So Let's get started.

The Video


The Code


Cheers,
Diego Pacheco

Popular posts from this blog

Java Agents

Manage Work not People

DDD The Lost Discipline