Bug 1952504 - Add scip-java to version catalog and bump version to 0.10.4. r=android-reviewers,mcarare

Differential Revision: https://phabricator.services.mozilla.com/D240730
This commit is contained in:
Ryan VanderMeulen
2025-03-07 15:13:24 +00:00
parent 89eb9ce95d
commit 86cfedaccc
2 changed files with 10 additions and 6 deletions

View File

@@ -150,7 +150,6 @@ allprojects {
// NOTE: Kotlin code indexing is currently removed due to lack of Kotlin 2.x support (see bug 1938622)
if (mozconfig.substs.ENABLE_MOZSEARCH_PLUGIN || mozconfig.substs.DOWNLOAD_ALL_GRADLE_DEPENDENCIES) {
def targetRoot = new File(topobjdir, "mozsearch_java_index")
def semanticdbJavacVersion = "com.sourcegraph:semanticdb-javac:0.10.3"
afterEvaluate {
def addDependencyToConfigurationIfExists = { configurationName, dependency ->
@@ -160,9 +159,9 @@ allprojects {
}
}
addDependencyToConfigurationIfExists("compileOnly", semanticdbJavacVersion)
addDependencyToConfigurationIfExists("testCompileOnly", semanticdbJavacVersion)
addDependencyToConfigurationIfExists("androidTestCompileOnly", semanticdbJavacVersion)
addDependencyToConfigurationIfExists("compileOnly", libs.semanticdb.java)
addDependencyToConfigurationIfExists("testCompileOnly", libs.semanticdb.java)
addDependencyToConfigurationIfExists("androidTestCompileOnly", libs.semanticdb.java)
}
tasks.withType(JavaCompile) {