How to configure Kotlin for tests in Android Studio
I just started using Kotlin in my Android project. The project compiles and runs.
But when I try to convert an instrumented test file from Java to Kotlin i get the dialog "Kotlin is not configured in the project. You will have to configure Kotlin in project before performing a conversion."
Here is my build.gradle file
import com.android.ddmlib.IDevice
import com.android.ddmlib.NullOutputReceiver
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
//...