Kotlin in user projects may be configured with target platform JVM 1.6. My plugin sometimes requires Kotlin configured for 1.8 target. I would like to inform the user that current settings do not satisfy the requirements and he need to change them to use my plugin.
What is the best way to determine current JVM target of Kotlin plugin via Intellij Plugin?
What is the best way to set new JVM target if user agrees via Intellij Plugin?
Thank you in advance!