[FIR] Properly setup java parser version for CLI pipeline with light tree

^KT-56549 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-02-20 14:34:51 +02:00
committed by Space Team
parent f836d16dc6
commit e0fa1e64b9
12 changed files with 69 additions and 0 deletions
@@ -518,6 +518,8 @@ fun createProjectEnvironment(
project.registerService(MetadataFinderFactory::class.java, finderFactory)
project.registerService(VirtualFileFinderFactory::class.java, finderFactory)
project.setupHighestLanguageLevel()
return ProjectEnvironmentWithCoreEnvironmentEmulation(
project,
localFileSystem,