[intellij project configuration] make target JVM version for Kotlin code consistent with language level

*.class files produced from Java and Kotlin files of a module should have the same version for consistency, so if a module uses custom language level it should also have a Kotlin facet specifying the same target JVM version.

GitOrigin-RevId: de4c7f6ef8e9c26b924a4eb2fd986ec83e48ef5c
This commit is contained in:
Nikolay Chashnikov
2022-08-11 15:47:09 +02:00
committed by intellij-monorepo-bot
parent 5dbec3af62
commit 9480eb2791
23 changed files with 368 additions and 0 deletions

View File

@@ -1,5 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="kotlin-language" name="Kotlin">
<configuration version="5" platform="JVM 11" allPlatforms="JVM [11]" useProjectSettings="false">
<compilerSettings>
<option name="additionalArguments" value="-version -Xjvm-default=enable -opt-in=com.intellij.openapi.util.IntellijInternalApi" />
</compilerSettings>
<compilerArguments>
<stringArguments>
<stringArg name="jvmTarget" arg="11" />
<stringArg name="apiVersion" arg="1.7" />
<stringArg name="languageVersion" arg="1.7" />
</stringArguments>
</compilerArguments>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">