If we have a maven project that has the `kotlin-ma...
# intellij
j
If we have a maven project that has the
kotlin-maven-plugin
configured with
<jvmTarget>1.8</jvmTarget>
, should the idea IDEA project's Kotlin Compiler > Target JVM Version be auto-synced (upon re-importing the maven project) to the POM so it is also set to 1.8? Currently its not doing such and remains set to 1.6.
a
Do you mean jvm target in Project Settings/Kotlin Compiler or in the module facet?
j
Settings > Kotlin Compiler.
a
Project-level settings are not affected by import
Do you have correct JVM target in the facet?
j
Just looked, yes I do. I had not realized the JVM target was (also) set there. Thanks.
a
In Maven/Gradle projects project-level settings are not generally used since all compiler options for each module are imported from external model and stored in the facet
j
Makes sense. Thanks for the help!
👍 1