MiraiForum

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

    无法从idea console插件新建插件

    BUG反馈
    5
    9
    202
    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.
    • BlackWings
      BlackWings last edited by

      尝试新建一个新的console插件(使用idea)时,Gradle build报错
      d2de7f1f-2c7d-4180-a1f8-500c5ec28742-image.png

      Build file 'F:\ideaProjects\Mirai\test\build.gradle.kts' line: 1
      
      An exception occurred applying plugin request [id: 'net.mamoe.mirai-console', version: '2.6.7']
      > Failed to apply plugin 'net.mamoe.mirai-console'.
         > Plugin with id 'org.gradle.maven' not found.
      
      * 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.
      
      
      1 Reply Last reply Reply Quote 0
      • Nambers
        Nambers 摸鱼 last edited by

        gradle版本是多少?
        如果是7的话,忘记是从哪个版本开始支持gradle7了,把2.6.7改成2.7-M2看看

        BlackWings 1 Reply Last reply Reply Quote 0
        • Karlatemp
          Karlatemp last edited by

          降级gradle版本

          BlackWings 2 2 Replies Last reply Reply Quote 1
          • BlackWings
            BlackWings @Nambers last edited by

            @nambers 感谢^_^
            不过我还是更愿意降级Gradle版本到7一下,问题解决了,感谢!
            84334096A26212742892140666EC3FECB650B9.jpg

            Nambers 1 Reply Last reply Reply Quote 0
            • Nambers
              Nambers 摸鱼 @BlackWings last edited by

              @blackwings

              1 Reply Last reply Reply Quote 0
              • BlackWings
                BlackWings @Karlatemp last edited by

                @karlatemp 84334096A26212742892140666EC3FECB650B9.jpg

                1 Reply Last reply Reply Quote 0
                • 2
                  250king @Karlatemp last edited by

                  @karlatemp 是怎么降级的?c3ad37f8-4fe9-48d3-bcc4-8cc7011f8ddf-image.png

                  Nambers 1 Reply Last reply Reply Quote 0
                  • Nambers
                    Nambers 摸鱼 @250king last edited by

                    @250king
                    降级gradle方法: 在gradle文件夹下有个文件,里面改gradlew的下载网址里面的版本
                    升级插件: 升级依赖的mirai-console到最新,如2.7-RC

                    1 Reply Last reply Reply Quote 1
                    • E
                      eric2788 last edited by

                      请问要降级到什么版本?我目前在用 gradle 6.8.3 还是一样会报这个错误

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact