技术解析
前几天 kotlin 更新了 1.5.10 ,我也兴冲冲第一时间打开 idea,更新了插件,然后更新项目 kotlin 版本号,gradle build !然后…
E:\kotlinProject\untitled>gradle build
Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in root project 'untitled'.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':compileKotlin'.
> Could not resolve all files for configuration ':kotlinCompilerClasspath'.
> Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.10.
Required by:
project :
> Could not resolve org.jetbrains.美国服务器kotlin:kotlin-compiler-embeddable:1.5.10.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.10/kotlin-compiler-embeddable-1.5.10.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.10/kotlin-compiler-embeddable-1.5.10.pom'.
> Connection reset
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
嗯…感觉刚开始升 1.4.32 的时候也遇到过…当时是等了几天,然后好像就好了…请问大家,这个正常要咋搞呢…