project-mirai / mirai-console-plugin-template

Template for Mirai Console plugins
GNU Affero General Public License v3.0
67 stars 17 forks source link

无法编译插件模板:`Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.30` #12

Closed Jasonzyt closed 2 years ago

Jasonzyt commented 2 years ago

My repo: Jasonzyt/GitHubBot

本地无法编译,Actions也failed:https://github.com/Jasonzyt/GitHubBot/runs/5198986192

* 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.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

settings.gradle.kts#L6删掉也没用

Him188 commented 2 years ago

把 mirai 版本更新到 2.10.0 就可以了, 或者可以使用刚刚更新的 template

Jasonzyt commented 2 years ago

thx