MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. qingciyue
    Q
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    qingciyue

    @qingciyue

    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    qingciyue Unfollow Follow

    Latest posts made by qingciyue

    • RE: SuperCourseTimetableBot - 基于 mirai-console 的 超级课表上课提醒QQ机器人插件

      我想问问要怎么加入mysql的依赖啊

      posted in 插件发布
      Q
      qingciyue
    • RE: 关于发送图片方面的问题请教

      @Karlatemp
      我想问问怎么发送网络上的图片

      posted in 开发交流
      Q
      qingciyue
    • RE: 用shadow插件打包jar,在build目录找不到

      @Karlatemp
      好的谢谢

      posted in 开发交流
      Q
      qingciyue
    • 用shadow插件打包jar,在build目录找不到

      build.gradle.kts

      plugins {
          val kotlinVersion = "1.5.30"
          kotlin("jvm") version kotlinVersion
          kotlin("plugin.serialization") version kotlinVersion
      
          id("net.mamoe.mirai-console") version "2.9.2"
          id("com.github.johnrengelman.shadow") version "7.1.2"
      }
      
      group = "org.example"
      version = "1.0-SNAPSHOT"
      
      repositories {
          maven("https://maven.aliyun.com/repository/public")
          mavenCentral()
          maven(url = "https://jitpack.io")
          maven("https://mvnrepository.com/artifact")
      }
      dependencies {
          // https://mvnrepository.com/artifact/com.alibaba/fastjson
          implementation("com.alibaba:fastjson:1.2.79")
      
      }
      mirai {
          configureShadow {
              dependencies {
                  include(dependency("com.alibaba:fastjson:1.2.79"))
              }
          }
      }
      

      terminal

      7:18:17: Executing task 'shadowJar'...
      
      Starting Gradle Daemon...
      Gradle Daemon started in 1 s 426 ms
      
      > Configure project :
      Warning: Kotlin language settings function 'useExperimentalAnnotation' is deprecated and will be removed in next major releases. Please, use 'optIn' instead.
      
      
      > Task :compileKotlin UP-TO-DATE
      > Task :compileJava UP-TO-DATE
      > Task :processResources UP-TO-DATE
      > Task :classes UP-TO-DATE
      > Task :shadowJar SKIPPED
      
      BUILD SUCCESSFUL in 5s
      3 actionable tasks: 3 up-to-date
      7:18:24: Task execution finished 'shadowJar'.
      
      posted in 开发交流
      Q
      qingciyue