What is the right way to configure Kotlin plugins in Android project. I have seen different examples (see below). My understanding is that kotlin("android")
should be used instead of id("kotlin-android")
as the first one is resolved to fully qualified plugin id while the second is not ans non-fully qualified id’s are legacy thing. Please, correct me if I’m wrong.
plugins {
id("com.android.application")
id("kotlin-android")
id("kotlin-android-extensions")
}
and
plugins {
id("com.android.application")
kotlin("android")
kotlin("android.extensions")
}