Fix CCE under composite mode
This commit essentially reverts change in IdeaResolverForProject made in
423aeb9a08
The issue is that 'platform.findAnalyzerServices' may return non-
CompositeAnalyzerServices even under composite analysis mode, when
platform is single-target (e.g. 'JvmAnalyzerServices' for JVM-only)
^KT-36978
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ class IdeaResolverForProject(
|
||||
commonPlatformParameters,
|
||||
jvmPlatformParameters,
|
||||
platform,
|
||||
platform.findAnalyzerServices(projectContext.project) as CompositeAnalyzerServices
|
||||
CompositeAnalyzerServices(platform.componentPlatforms.map { it.findAnalyzerServices() })
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user