loading...

Mixing Kotlin and Java in a single module of a multi-module Maven or Gradle project

twitter logo github logo ・1 min read

Hi,

does anyone have a multi module Maven or Gradle project in production? Basically I'm considering moving SirixDB to Kotlin and to write new classes in Kotlin.

However, I'm not sure. I've used Java from Kotlin but not the other way around. So, would you recommend adding Kotlin to the core module for instance or are there any pitfalls? I think Kotlin is just like a modern Java and I'm a bit resistent to write Java code in my spare time, now that I worked a bit with Kotlin ;-)

Kind regards
Johannes

twitter logo DISCUSS
Classic DEV Post from May 24 '19

Follow Friday: What DEV member would you recommend following?

Johannes Lichtenberger profile image
I'm working on an Open Source temporal NoSQL document storage system called SirixDB written in Java (and a module in Kotlin) in my spare time.

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️