Bug 1938622 - Enable kotlin code indexing again using forked semanticdb-kotlinc. r=nalexander,geckoview-reviewers,jcristau

Upstream semanticdb-kotlinc at github.com/sourcegraph/scip-kotlin does
not support kotlin 2 yet, so we forked the repository and added support
at github.com/mozsearch/semanticdb-kotlinc.

The upstream project originally builds on GitHub Actions and publishes
to Maven Central as com.sourcegraph:semanticdb-kotlinc.

Instead, we currently publish to maven.mozilla.org as
com.github.mozsearch:semanticdb-kotlinc.

Differential Revision: https://phabricator.services.mozilla.com/D245420
This commit is contained in:
Nicolas Guichard
2025-04-28 09:39:03 +00:00
parent 8262016029
commit e57f0beabb
2 changed files with 10 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ jacoco = "0.8.13"
kotlin-dsl = "5.2.0"
protobuf-plugin = "0.9.5"
scip-java = "0.10.4"
semanticdb-kotlinc = "0.5.0"
# Kotlin versions
coroutines = "1.10.2"
@@ -245,6 +246,7 @@ jna = { group = "net.java.dev.jna", name = "jna", version.ref = "jna" }
# Gradle plugins
semanticdb-java = { group = "com.sourcegraph", name = "semanticdb-javac", version.ref = "scip-java" }
semanticdb-kotlin = { group = "com.github.mozsearch", name = "semanticdb-kotlinc", version.ref = "semanticdb-kotlinc" }
glean-gradle-plugin = { group = "org.mozilla.telemetry", name = "glean-gradle-plugin", version.ref = "mozilla-glean" }
kotlin-annotations-jvm = { group = "org.jetbrains.kotlin", name = "kotlin-annotations-jvm", version.ref = "kotlin" }