MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    buildPlugin 显示502错误

    BUG反馈
    5
    10
    240
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PiCpo
      PiCpo last edited by

      看了一下,似乎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
      
      
      
      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh last edited by

        更新 net.mamoe.mirai-console 的版本

        PiCpo 1 Reply Last reply Reply Quote 0
        • PiCpo
          PiCpo @cssxsh last edited by

          @cssxsh 请问是修改build.gradle.kts里面的版本号吗(小声)
          aa227ac4-5606-44a9-b77d-7de76f4d18a0-图片.png

          cssxsh Samarium150 2 Replies Last reply Reply Quote 0
          • cssxsh
            cssxsh @PiCpo last edited by

            @picpo
            是的,请更新版本

            PiCpo 2 Replies Last reply Reply Quote 0
            • Samarium150
              Samarium150 ⭐2021⭐ @PiCpo last edited by

              @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"
              }
              
              PiCpo 1 Reply Last reply Reply Quote 0
              • PiCpo
                PiCpo @cssxsh last edited by

                @cssxsh 感谢

                1 Reply Last reply Reply Quote 0
                • PiCpo
                  PiCpo @Samarium150 last edited by

                  @samarium150 谢谢谢谢谢OvO

                  1 Reply Last reply Reply Quote 0
                  • wssy001
                    wssy001 ⭐2021⭐ last edited by

                    https://developer.aliyun.com/mvn/guide 国内直接访问可能需要加速器,可以试试阿里云的镜像仓库

                    1 Reply Last reply Reply Quote 0
                    • PiCpo
                      PiCpo @cssxsh last edited by

                      @cssxsh 现在的话,编译是没有问题了,但是一堆爆红而且没法联想了QAQ
                      303b71c3-90b2-40b6-a011-a227a7dc9f06-图片.png
                      05da83b1-3aaa-41fa-a545-5d7afe3e31fc-图片.png
                      看了一下好像是这些插件版本不够高,请问怎么做才能升级插件?
                      117caad3-f9e5-4dd8-958a-99095213aadb-图片.png

                      1 Reply Last reply Reply Quote 0
                      • tsudzuki
                        tsudzuki 摸鱼 last edited by

                        我也遇到这个问题...不过把mirai-console版本换一下好了,我用的 2.9.0-M1

                        1 Reply Last reply Reply Quote 0
                        • Referenced by  我 我才是木乃尹 
                        • 1 / 1
                        • First post
                          Last post
                        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact