Please help me to solve this any one!
1 Replies
This works a bit differently and is not exactly the same as described in the original question.
Here Scala is in a separate module, that means scala can call the kotlin code without problems, since it’s just using a compiled library. Kotlin on the other hand can’t use the scala code, because it’s not yet compiled and you can’t add a dependency on the scala code without getting a circular dependency structure.
The original question is whether you can use scala, kotlin and java in the same module as you can do with only kotlin and java combined. This is not possible as yole explained.