1.2.1 • Published 3 years ago

cordova-support-kotlin v1.2.1

Weekly downloads
141
License
MIT
Repository
github
Last release
3 years ago

cordova-support-kotlin

npm npm

kotlin-128x128

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.

Installation

Add this plugin in your project:

cordova plugin add cordova-support-kotlin --save

Settings

Kotlin uses the latest version of latest.integration by default. You can set the version you need and configure it like this in your app's config.xml file:

<platform name="android" kotlin="1.2.50">
    ...
</platform>

Set additional apply plugin elements in the app's build.gradle.

Note that the order matters.

<platform name="android">
    ...
    <apply-plugin>kotlin-android-extensions</apply-plugin>
    <apply-plugin>kotlin-kapt</apply-plugin>
    ...
</platform>

You can also add dependencies if you need to.

<platform name="android">
    ...
    <apply-dependency>org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0-M2</apply-dependency>
    ...
</platform>
1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1-alpha.1

6 years ago