From 9d73fc240f155613ed7a6c003fc0e9f45a8691e1 Mon Sep 17 00:00:00 2001 From: cssxsh Date: Fri, 8 Sep 2023 03:16:52 +0800 Subject: [PATCH] build: 2.5.1 --- CHANGELOG.md | 8 +++++++- README.md | 1 + build.gradle.kts | 9 +++------ .../xyz/cssxsh/mirai/selenium/MiraiSeleniumPlugin.kt | 2 +- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7e8b17..5afce75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ -# 2.5.0 (23/08/..) +# 2.5.1(23/09/08) + +1. feat: setup chrome command + +# 2.5.0 (23/08/12) 1. update: mirai 2.15 +2. feat: fetchChromeVersion +3. fix: setupChrome # 2.4.0 (23/06/18) diff --git a/README.md b/README.md index e4b0057..f26d384 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ mirai { * `/selenium status` 驱动进程状态 * `/selenium firefox` 下载解压 firefox * `/selenium chromium` 下载解压 chromium +* `/selenium chrome` 下载解压 chrome * `/selenium chart` 测试 图表绘制功能,将以群员入群事件和发言时间为数据集 ## 配置 diff --git a/build.gradle.kts b/build.gradle.kts index 88688b4..94887af 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,13 +2,13 @@ plugins { kotlin("jvm") version "1.8.10" kotlin("plugin.serialization") version "1.8.10" - id("net.mamoe.mirai-console") version "2.15.0" + id("net.mamoe.mirai-console") version "2.16.0-RC" id("me.him188.maven-central-publish") version "1.0.0-dev-3" id("me.him188.kotlin-jvm-blocking-bridge") version "2.2.0-180.1" } group = "xyz.cssxsh.mirai" -version = "2.5.0" +version = "2.5.1" mavenCentralPublish { useCentralS01() @@ -24,7 +24,6 @@ mavenCentralPublish { repositories { mavenLocal() mavenCentral() - maven("https://repo.mirai.mamoe.net/snapshots") } dependencies { @@ -35,7 +34,7 @@ dependencies { testImplementation(kotlin("test")) testImplementation("org.icepear.echarts:echarts-java:1.0.7") // - implementation(platform("net.mamoe:mirai-bom:2.16.0-dev-133")) + implementation(platform("net.mamoe:mirai-bom:2.16.0-RC")) testImplementation("net.mamoe:mirai-logging-slf4j") testImplementation("net.mamoe:mirai-console-compiler-common") // @@ -53,8 +52,6 @@ kotlin { mirai { jvmTarget = JavaVersion.VERSION_11 - coreVersion = "2.16.0-dev-133" - consoleVersion = "2.16.0-dev-133" if (System.getenv("CI").toBoolean()) { useTestConsoleFrontEnd = null } diff --git a/src/main/kotlin/xyz/cssxsh/mirai/selenium/MiraiSeleniumPlugin.kt b/src/main/kotlin/xyz/cssxsh/mirai/selenium/MiraiSeleniumPlugin.kt index a9a6c2c..a7ef41e 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/selenium/MiraiSeleniumPlugin.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/selenium/MiraiSeleniumPlugin.kt @@ -21,7 +21,7 @@ public object MiraiSeleniumPlugin : KotlinPlugin( JvmPluginDescription( id = "xyz.cssxsh.mirai.plugin.mirai-selenium-plugin", name = "mirai-selenium-plugin", - version = "2.5.0" + version = "2.5.1" ) { author("cssxsh") }