Add an ability to switch between old and new J2K via settings window

Before that it was possible to do only via registry

#KT-33371 fixed
This commit is contained in:
Ilya Kirillov
2019-08-15 19:29:12 +03:00
parent 3b8da0afe4
commit 4befca95d6
12 changed files with 62 additions and 43 deletions
@@ -91,10 +91,6 @@
<j2kConverterExtension implementation="org.jetbrains.kotlin.nj2k.NewJ2kConverterExtension"/>
</extensions>
<extensions defaultExtensionNs="com.intellij">
<registryKey key="kotlin.use.new.j2k"
description="Use new Java to Kotlin Converter (experimental)"
defaultValue="true"
restartRequired="false"/>
<registryKey key="kotlin.android.import.mpp.all.transitive"
description="Add all transitive dependencies on MPP modules when Android project is imported"
defaultValue="true"