Not finding Kotlin sources from Maven sources jar - no .kt but .java works fine!

已回答

Hi all,

We have a mixed Java + Kotlin code base. Our Maven integration builds produce sources jars which contain both the .java and .kt files. But IntelliJ (Ultimate) does not pick up the .kt files. Instead it propose to decompile the .class or select the source location.

Somewhat similar to the apparently abandoned issue https://youtrack.jetbrains.com/issue/KT-25503 

Or is there a solution for this?

Regards,

Johan

0

Hello, Johan!

Thank you for reporting this!

I'm currently attempting to reproduce this behavior, but so far was unable to.

Would you be able to share the Artifact in question or, possibly, know any publicly available Artifacts of similar structure (that use both Java and Kotlin and have a Sources JAR) that exhibit this behavior? 

0

请先登录再写评论。