November 2018
Intermediate to advanced
388 pages
9h 5m
English
Let's look at an example where we add Java code to an existing Kotlin project using Maven. We previously described the steps to create a Kotlin project in the Configuring Kotlin in your project section. We have created a Maven project in Kotlin using the kotlin-archetype-jvm archetype:

We will add a Java file to it and build the project as follows:

In this section, we have learned how to intermix Kotlin and Java using Maven.
Read now
Unlock full access