I got this error when I updated to gradle gradle-5.2.1-all.zip and kotlin 1.3.21
Execution failed for task ':buildSrc:compileKotlin'.
> Could not resolve all files for configuration ':buildSrc:kotlinCompilerPluginClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.2.60.
Searched in the following locations: file:/Users/ivan.balaksha/.gradle/caches/4.10-rc-1/embedded-kotlin-repo-1.2.60-2/repo/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/1.2.60/kotlin-scripting-compiler-embeddable-1.2.60.jar
Required by:
project :buildSrc
> Could not find org.jetbrains.kotlin:kotlin-sam-with-receiver:1.2.60.
Required by:
project :buildSrc
Since kotlin 1.2.60, It's mandatory to add the jcenter() repository in ./buildSrc/build.gradle.kts
More info: gradle/kotlin-dsl-samples#1033
I got this error when I updated to gradle
gradle-5.2.1-all.zipand kotlin1.3.21Since kotlin 1.2.60, It's mandatory to add the jcenter() repository in
./buildSrc/build.gradle.ktsMore info: gradle/kotlin-dsl-samples#1033