Write refined classpath back to compiler config in core env
- fixes refining with classpath updates
This commit is contained in:
committed by
Space Team
parent
699ef5490b
commit
4fe3e875fa
+2
@@ -364,6 +364,8 @@ class KotlinCoreEnvironment private constructor(
|
||||
}
|
||||
}
|
||||
|
||||
configuration.addAll(CLIConfigurationKeys.CONTENT_ROOTS, contentRoots - configuration.getList(CLIConfigurationKeys.CONTENT_ROOTS))
|
||||
|
||||
return rootsIndex.addNewIndexForRoots(newRoots)?.let { newIndex ->
|
||||
updateClasspathFromRootsIndex(newIndex)
|
||||
newIndex.indexedRoots.mapNotNull { (file) ->
|
||||
|
||||
Reference in New Issue
Block a user