Hard Prerequisites |
|
In order to build a Kotlin project with Gradle, you should set up the kotlin-gradle plugin, apply it to your project and add kotlin-stdlib dependencies. Those actions may also be performed automatically in IntelliJ IDEA by invoking Tools | Kotlin | Configure Kotlin in Project action.
Visit the below link to see detailed usage of gradle for Kotlin. Gradle use with Kotlin