File tree Expand file tree Collapse file tree 6 files changed +24
-9
lines changed
src/main/kotlin/net/mamoe/mirai/api/http Expand file tree Collapse file tree 6 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 3333 env :
3434 PUBLICATION_CREDENTIALS : ${{ secrets.PUBLICATION_CREDENTIALS }}
3535
36- - name : Gradle closeRepository
37- run : >
38- ./gradlew mirai-api-http:closeRepository --info --stacktrace --scan
39- env :
40- PUBLICATION_CREDENTIALS : ${{ secrets.PUBLICATION_CREDENTIALS }}
36+ # - name: Gradle closeRepository
37+ # run: >
38+ # ./gradlew mirai-api-http:closeRepository --info --stacktrace --scan
39+ # env:
40+ # PUBLICATION_CREDENTIALS: ${{ secrets.PUBLICATION_CREDENTIALS }}
4141
Original file line number Diff line number Diff line change 5858 with :
5959 upload_url : ${{ steps.create_release.outputs.upload_url }}
6060 asset_path : ./mirai-api-http/build/ci/mirai-api-http.jar
61- asset_name : mirai-api-http-${{ steps.tag.outputs.tag }}.mirai .jar
61+ asset_name : mirai-api-http-${{ steps.tag.outputs.tag }}.mirai2 .jar
6262 asset_content_type : application/zip
Original file line number Diff line number Diff line change 11# 更新日志
22
3+
4+ ## \[ 2.5.1\] - 2022-5-15
5+
6+ ### 修复
7+
8+ + 修复获取文件接口没有返回目录的信息 (#571 )
9+
10+ ### 变更
11+
12+ + 各种原因,` 2.5.1 ` , 包括 ` 2.5.0 ` 仅支持 core ` 2.11 `
13+
14+
15+
316## \[ 2.5.0\] - 2022-2-17
417
518### 修复
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ kotlin.incremental.multiplatform=true
55org.gradle.parallel =true
66
77# build
8- httpVersion =2.5.0
8+ httpVersion =2.5.1
99
1010# kotlin
1111kotlinVersion =1.6.0
Original file line number Diff line number Diff line change 1+ import net.mamoe.mirai.console.gradle.BuildMiraiPluginV2
2+
13plugins {
24 kotlin(" jvm" )
35 kotlin(" plugin.serialization" )
@@ -49,7 +51,7 @@ description = "Mirai HTTP API plugin"
4951tasks.register(" buildCiJar" , Jar ::class ) {
5052 dependsOn(" buildPlugin" )
5153 doLast {
52- val buildPluginTask = tasks.getByName(" buildPlugin" , Jar ::class )
54+ val buildPluginTask = tasks.getByName(" buildPlugin" , BuildMiraiPluginV2 ::class )
5355 val buildPluginFile = buildPluginTask.archiveFile.get().asFile
5456 project.buildDir.resolve(" ci" ).also {
5557 it.mkdirs()
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import java.io.File
2424 * 主要职责为读取配置文件 [MainSetting] 和 启动具体实现 [MahPluginImpl]
2525 */
2626object HttpApiPluginBase : KotlinPlugin(
27- JvmPluginDescription (id = "net.mamoe.mirai-api-http", version = "2.5.0 ") {
27+ JvmPluginDescription (id = "net.mamoe.mirai-api-http", version = "2.5.1 ") {
2828 author("ryoii")
2929 info("Mirai HTTP API Server Plugin ")
3030 }
You can’t perform that action at this time.
0 commit comments