IDEA project configuration: explicitly specify API and Language version for Kotlin compiler

Otherwise they are automatically set to 1.2 if the project is opened with Kotlin plugin 1.2 (KT-18543), and we aren't ready to use that language version in IDEA project yet.
This commit is contained in:
nik
2017-11-13 17:01:16 +03:00
parent 4ce6a58b63
commit 85d685dfcc
+4
View File
@@ -7,4 +7,8 @@
<component name="Kotlin2JvmCompilerArguments">
<option name="jvmTarget" value="1.8" />
</component>
<component name="KotlinCommonCompilerArguments">
<option name="apiVersion" value="1.1"/>
<option name="languageVersion" value="1.1"/>
</component>
</project>