Title
j

javaru

03/14/2017, 3:55 PM
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

alexey.sedunov

03/14/2017, 4:06 PM
Do you mean jvm target in Project Settings/Kotlin Compiler or in the module facet?
j

javaru

03/14/2017, 4:07 PM
Settings > Kotlin Compiler.
a

alexey.sedunov

03/14/2017, 4:08 PM
Project-level settings are not affected by import
Do you have correct JVM target in the facet?
j

javaru

03/14/2017, 4:09 PM
Just looked, yes I do. I had not realized the JVM target was (also) set there. Thanks.
a

alexey.sedunov

03/14/2017, 4:10 PM
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

javaru

03/14/2017, 4:10 PM
Makes sense. Thanks for the help!
šŸ‘ 1