MiraiForum

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

    [求助] Mirai-Console 插件打包依赖问题

    开发交流
    2
    3
    437
    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.
    • S
      StarWishsama last edited by

      在使用 gradle::buildPlugin 正常编译后,丢入插件文件夹运行 Console 总是提示缺失 kotlin.time.DurationUnit 类

      build.gradle: https://github.com/StarWishsama/Comet-Bot/blob/mirai-console/build.gradle.kts

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

        更换 kt 版本

        plugins {
            kotlin("jvm") version "1.5.30"
            kotlin("plugin.serialization") version "1.5.30"
        }
        
        S 1 Reply Last reply Reply Quote 1
        • S
          StarWishsama @Karlatemp last edited by

          @karlatemp 在 [求助] Mirai-Console 插件打包依赖问题 中说:

          更换 kt 版本

          plugins {
              kotlin("jvm") version "1.5.30"
              kotlin("plugin.serialization") version "1.5.30"
          }
          

          感谢解答!

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