Is it possible to mix Scala and Kotlin in the same maven module?

Viewed 1529

I am working with Kotlin configured by maven as explained here: https://kotlinlang.org/docs/reference/using-maven.html#compiling-kotlin-and-java-sources (but using only java src dir for both Java and Kotlin files).
We have at work some Scala modules that are configured as explained here: https://dzone.com/articles/scala-in-java-maven-project.

The obvious way of put both maven plugins together did not work. Scala did not recognize Kotlin files.

Is it possible to mix both Java, Kotlin and Scala in one maven module? or is there is a conflict in those maven plugins?

0 Answers
Related