fix(lsp/java): android.jar file could not be found in tests

This commit is contained in:
Akash Yadav
2024-06-03 21:20:52 +05:30
parent bc35b9657a
commit 9789b7ca7c
2 changed files with 6 additions and 2 deletions
@@ -31,11 +31,15 @@ class AndroidJarModelingRule : TestRule {
private val androidJar: File by lazy {
FileProvider.projectRoot()
.resolve("subprojects")
.resolve("utilities")
.resolve("framework-stubs")
.resolve("libs")
.resolve("android.jar")
.toFile()
.toFile().also {
check(it.exists()) {
"android.jar file could not be found"
}
}
}
private val androidJarIndexer: JavaJarModelBuilder by lazy {