How to deploy kotlin in androidstudio?

Kotlin is a good language,more playable than Java.So how do we deploy kotlin?

First,install the kotlin plug-in in Plugins. If you are the latest AndroidStudio,you don‘t need to take this step,because this plug-in has been integrated.技术分享图片

Second,configure kotlin in the build.gradle of the project技术分享图片

Third,configure ‘kotlin-android‘  and ‘kotlin-android-extensions‘ in app‘s gradle.技术分享图片

Fourth, click SyncNow to start synchronization技术分享图片

About Anko implementation of kotlin, Android UI and configuration will be mentioned later in the article, thank you.