MiraiForum

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

    Solved Plugin with id 'org.gradle.maven' not found

    开发交流
    2
    3
    305
    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.
    • Hoshino_Suzumi
      Hoshino_Suzumi 摸鱼 last edited by

      新工程 Gradle sync 时报错
      JDK版本为1.8

      Build file 'F:\OneDrive\DDLC\OneDrive - dokidokiliteratureclub\Projects\Mirai Plugins\JudgementHaruka\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.
      

      f4b8f6e1-349b-40a1-b7bd-689bc3b5c297-image.png

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

        好像是从2.7-M1开始才支持gradle 7.x https://github.com/mamoe/mirai/releases/tag/v2.7-M1
        要么降级gradle
        要么升级到2.7

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

          @nambers 非常感谢

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