From a3442f13b98d89c093e1955f04c5f19e02f1ec2a Mon Sep 17 00:00:00 2001 From: cssxsh Date: Sun, 17 Jul 2022 08:18:45 +0800 Subject: [PATCH] build: 1.3.4 --- build.gradle.kts | 4 ++-- .../github/gnuf0rce/mirai/censor/MiraiContentCensorPlugin.kt | 2 +- .../github/gnuf0rce/mirai/censor/data/ContentCensorToken.kt | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 82ba282..aa246ff 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "io.github.gnuf0rce" -version = "1.3.3" +version = "1.3.4" mavenCentralPublish { useCentralS01() @@ -23,7 +23,7 @@ repositories { } dependencies { - api("xyz.cssxsh.baidu:baidu-aip:3.1.1") { + api("xyz.cssxsh.baidu:baidu-aip:3.1.2") { exclude(group = "org.jetbrains.kotlin") exclude(group = "org.jetbrains.kotlinx") exclude(group = "org.slf4j") diff --git a/src/main/kotlin/io/github/gnuf0rce/mirai/censor/MiraiContentCensorPlugin.kt b/src/main/kotlin/io/github/gnuf0rce/mirai/censor/MiraiContentCensorPlugin.kt index 2a7ad00..df7c10a 100644 --- a/src/main/kotlin/io/github/gnuf0rce/mirai/censor/MiraiContentCensorPlugin.kt +++ b/src/main/kotlin/io/github/gnuf0rce/mirai/censor/MiraiContentCensorPlugin.kt @@ -13,7 +13,7 @@ import net.mamoe.mirai.utils.* import xyz.cssxsh.mirai.admin.* public object MiraiContentCensorPlugin : KotlinPlugin( - JvmPluginDescription("io.github.gnuf0rce.content-censor", "1.3.3") { + JvmPluginDescription("io.github.gnuf0rce.content-censor", "1.3.4") { name("content-censor") author("cssxsh") diff --git a/src/main/kotlin/io/github/gnuf0rce/mirai/censor/data/ContentCensorToken.kt b/src/main/kotlin/io/github/gnuf0rce/mirai/censor/data/ContentCensorToken.kt index 12b4e36..51a1543 100644 --- a/src/main/kotlin/io/github/gnuf0rce/mirai/censor/data/ContentCensorToken.kt +++ b/src/main/kotlin/io/github/gnuf0rce/mirai/censor/data/ContentCensorToken.kt @@ -13,7 +13,6 @@ internal object ContentCensorToken : AutoSavePluginData("ContentCensorToken"), B } @ValueName("expires") - @Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") override var expires: OffsetDateTime by value(OffsetDateTime.MIN) @ValueName("access_token")