This Cordova plugin help you support kotlin to your android project, At the same time you can use other Cordova plugins that rely on kotlin.
Add This plugin in your project:
cordova plugin add cordova-support-kotlin --save
Kotlin uses the latest version of latest.integration
by default. You can set the version you need and configure it like this in config.xml:
<platform name="android" kotlin="1.2.50">
...
</platform>
Set additional apply plugin
<platform name="android">
...
<apply-plugin>kotlin-android-extension</apply-plugin>
<apply-plugin>kotlin-apt</apply-plugin>
...
</platform>