scip-java icon indicating copy to clipboard operation
scip-java copied to clipboard

Support Kotlin Maven builds

Open olafurpg opened this issue 4 years ago • 2 comments

Currently, lsif-java index can index Gradle Kotlin projects but not Gradle Maven projects.

olafurpg avatar Oct 19 '21 07:10 olafurpg

Hello 👋 is there any update on this issue? Asking because we are attempting to use scip-java for a kotlin & maven project, but unfortunately we run into issues with support for the [kotlin-maven-plugin(https://sourcegraph.github.io/scip-java/docs/getting-started.html#maven). Are there plans to implement this indexing support, or is there a work around?

simonkoeten-wk avatar Oct 17 '23 18:10 simonkoeten-wk

@simonkoeten-wk Thank you for sharing your interest in this feature. There has been no update on this front, and it's not in our near-term roadmap to add automatic indexing support for Kotlin Maven codebases. Note that it might be possible to work around this by adding the Kotlin SemanticDB compiler plugin to your Maven build. For inspiration, you can see how we enable this compiler plugin for Kotlin Gradle projects

https://github.com/sourcegraph/scip-java/blob/36c9a113efd1926fc26fcd1c2614b8793099a170/semanticdb-gradle-plugin/src/main/scala/SemanticdbGradlePlugin.scala#L349-L355

olafurpg avatar Oct 17 '23 19:10 olafurpg