Issue
I'm having some trouble upgrading the version of Kotlin to 1.3-M1 or 1.3-M2
I'm using 1.2.51 right now and the error I'm getting when I try using any newer versions like 1.3-M2 is:
Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.3-M2.
I'm guessing it has been moved but I've looked al over and haven't found a solution.
Can anyone point me in the right direction?
Solution
Thanks to yole and TheWanderer I found what was missing.
Here under the EAP-NEXT tab you can find the correct version of the kotlin plugin for IntelliJ/Android Studio.
So this is what I did to solve it:
1 - Android Studio -> Tools -> Kotlin -> Configure Kotlin Plugin Updates
2 - Select Early Access Preview 1.3 on the Update channel drop down(If you can't find it click again)
3 - What this answer says:
On your project level build.gradle:
buildscript {
repositories {
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
}
}
repositories {
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
}
Answered By - Aerim
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.