buildPlugin 显示502错误
-
看了一下,似乎https://dl.bintray.com这个网站直接502了
不知道有没有替代方案
报错信息如下: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.4.30. Required by: project : > Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.30. > Could not get resource 'https://dl.bintray.com/him188moe/mirai/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.4.30/kotlin-compiler-embeddable-1.4.30.pom'. > Could not HEAD 'https://dl.bintray.com/him188moe/mirai/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.4.30/kotlin-compiler-embeddable-1.4.30.pom'. Received status code 502 from server: Bad Gateway
-
更新
net.mamoe.mirai-console
的版本 -
@cssxsh 请问是修改build.gradle.kts里面的版本号吗(小声)
-
@picpo
是的,请更新版本 -
plugins { val kotlinVersion = "1.5.10" kotlin("jvm") version kotlinVersion kotlin("plugin.serialization") version kotlinVersion id("net.mamoe.mirai-console") version "2.8.2" }
-
@cssxsh 感谢
-
@samarium150 谢谢谢谢谢OvO
-
https://developer.aliyun.com/mvn/guide 国内直接访问可能需要加速器,可以试试阿里云的镜像仓库
-
@cssxsh 现在的话,编译是没有问题了,但是一堆爆红而且没法联想了QAQ
看了一下好像是这些插件版本不够高,请问怎么做才能升级插件?
-
我也遇到这个问题...不过把mirai-console版本换一下好了,我用的
2.9.0-M1
-