xxxxxxxxxx
add ` classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"`
in android build.gradle of project or dependencies
xxxxxxxxxx
To use the plugin, you have to add it in your root build.gradle file
buildscript {
ext.kotlin_version = '1.1.60'
repositories {
jcenter()
maven {
url 'https://maven.google.com'
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}