diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-21 01:19:34 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-21 01:19:34 +0300 |
commit | d0d5617669217c095858df0b5f1597aa5c230dcf (patch) | |
tree | f8524b92c3464968b276017860e1e422565c95b7 /core/src | |
parent | 0298076ba9cf22b70b6c85846ad555e201ee95ee (diff) | |
download | dokka-d0d5617669217c095858df0b5f1597aa5c230dcf.tar.gz dokka-d0d5617669217c095858df0b5f1597aa5c230dcf.tar.bz2 dokka-d0d5617669217c095858df0b5f1597aa5c230dcf.zip |
Hard-code language version
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/Analysis/AnalysisEnvironment.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt b/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt index be4285c0..3eb235e5 100644 --- a/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt +++ b/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt @@ -69,6 +69,7 @@ class AnalysisEnvironment(val messageCollector: MessageCollector) : Disposable { val projectFileIndex = CoreProjectFileIndex(environment.project, environment.configuration.getList(JVMConfigurationKeys.CONTENT_ROOTS)) + environment.configuration.put(CommonConfigurationKeys.LANGUAGE_VERSION_SETTINGS, LanguageVersionSettingsImpl.DEFAULT) val moduleManager = object : CoreModuleManager(environment.project, this) { override fun getModules(): Array<out Module> = arrayOf(projectFileIndex.module) |