Skip to content

Commit

Permalink
build: 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Jun 11, 2023
1 parent 0d59434 commit 586ecf6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -19,7 +19,7 @@

### 命令

> since 1.6
> since 1.6.0
* `protocol sync <type>` 在线同步协议
例如 `protocol sync ANDROID_PAD`
Expand All @@ -28,7 +28,7 @@

## Mirai Core 使用方法

`since 1.1.0`
> since 1.1.0
下载 `mirai2.jar`, 然后作为 lib 引用

Expand All @@ -45,6 +45,10 @@ public class Example {
public static void update() {
FixProtocolVersion.update();
}
// 同步协议版本
public static void update() {
FixProtocolVersion.sync(BotConfiguration.MiraiProtocol.ANDROID_PAD);
}
// 获取协议版本信息 你可以用这个来检查update是否正常工作
public static Map<MiraiProtocol, String> info() {
return FixProtocolVersion.info();
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "xyz.cssxsh.mirai"
version = "1.6.0"
version = "1.7.0"

mavenCentralPublish {
useCentralS01()
Expand Down Expand Up @@ -44,8 +44,8 @@ kotlin {
}

mirai {
coreVersion = "2.14.0"
consoleVersion = "2.14.0"
coreVersion = "2.15.0-dev-98"
consoleVersion = "2.15.0-dev-98"
}

tasks {
Expand Down
Expand Up @@ -11,7 +11,7 @@ public object FixProtocolVersionPlugin : KotlinPlugin(
JvmPluginDescription(
id = "xyz.cssxsh.mirai.fix-protocol-version",
name = "fix-protocol-version",
version = "1.6.0",
version = "1.7.0",
) {
author("cssxsh")
}
Expand Down

0 comments on commit 586ecf6

Please sign in to comment.