ある日、以下のようなエラーが出た。
Some kotlin libraries attached to this project have unsupported format. Please update the libraries or the plugin
アップデートしてくださいと言われても、Kotlinのバージョンは最新の1.0.0-rc-1036(2016/2/8時点)。。。
なんで?
とりあえずbuild.gradle
を覗いてみると以下のような記述がある。
build.gradle
...
buildscript {
ext.kotlin_version = '1.0.0-beta-3594'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
...
あ、ext.kotlin_version
が違う。。。
というわけで以下のように修正。
ext.kotlin_version = '1.0.0-rc-1036'
解決した。