Skip to content

Commit 9ac0742

Browse files
committed
build: 1.4.0
1 parent d6df064 commit 9ac0742

File tree

5 files changed

+21
-16
lines changed

5 files changed

+21
-16
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@ Google Emoji Kitchen,两个 emoji 合成 一个
142142
```
143143
![school](example/school.png)
144144

145+
### sekai-stickers
146+
147+
```
148+
#Airi 01
149+
keep up
150+
```
151+
152+
https://st.ayaka.one/
153+
145154
## [爱发电](https://afdian.net/@cssxsh)
146155

147156
![afdian](.github/afdian.jpg)

build.gradle.kts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ plugins {
22
kotlin("jvm") version "1.8.22"
33
kotlin("plugin.serialization") version "1.8.22"
44

5-
id("net.mamoe.mirai-console") version "2.15.0"
6-
id("me.him188.maven-central-publish") version "1.0.0-dev-3"
5+
id("net.mamoe.mirai-console") version "2.16.0"
6+
id("me.him188.maven-central-publish") version "1.0.0"
77
}
88

99
group = "xyz.cssxsh"
10-
version = "1.3.0"
10+
version = "1.4.0"
1111

1212
repositories {
1313
mavenLocal()
@@ -28,22 +28,23 @@ mavenCentralPublish {
2828
dependencies {
2929
compileOnly("xyz.cssxsh:bilibili-helper:1.7.2")
3030
compileOnly("xyz.cssxsh:weibo-helper:1.6.2")
31-
compileOnly("xyz.cssxsh.mirai:mirai-hibernate-plugin:2.7.1")
31+
compileOnly("xyz.cssxsh.mirai:mirai-hibernate-plugin:2.9.0")
3232
compileOnly("xyz.cssxsh.mirai:mirai-skia-plugin:1.3.1")
33-
implementation("com.itextpdf:io:8.0.2")
33+
implementation("com.itextpdf:io:8.0.5")
3434
testImplementation(kotlin("test"))
3535
//
36-
implementation(platform("net.mamoe:mirai-bom:2.15.0"))
36+
implementation(platform("net.mamoe:mirai-bom:2.16.0"))
3737
compileOnly("net.mamoe:mirai-core")
3838
compileOnly("net.mamoe:mirai-core-utils")
3939
compileOnly("net.mamoe:mirai-console-compiler-common")
4040
testImplementation("net.mamoe:mirai-core-utils")
4141
//
42-
implementation(platform("io.ktor:ktor-bom:2.2.4"))
42+
implementation(platform("io.ktor:ktor-bom:2.3.9"))
4343
implementation("io.ktor:ktor-client-okhttp")
4444
implementation("io.ktor:ktor-client-encoding")
4545
//
46-
implementation(platform("org.slf4j:slf4j-parent:2.0.7"))
46+
implementation(platform("org.slf4j:slf4j-parent:2.0.16"))
47+
testImplementation("org.slf4j:slf4j-simple")
4748
}
4849

4950
mirai {

src/main/kotlin/MemeHelperPlugin.kt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
package xyz.cssxsh.mirai.meme
22

33
import kotlinx.coroutines.*
4-
import net.mamoe.mirai.console.*
54
import net.mamoe.mirai.console.extension.*
65
import net.mamoe.mirai.console.plugin.jvm.*
7-
import net.mamoe.mirai.console.plugin.*
8-
import net.mamoe.mirai.console.util.*
96
import net.mamoe.mirai.event.*
107

118
@PublishedApi
129
internal object MemeHelperPlugin : KotlinPlugin(
1310
JvmPluginDescription(
1411
id = "xyz.cssxsh.mirai.plugin.meme-helper",
1512
name = "meme-helper",
16-
version = "1.3.0",
13+
version = "1.4.0"
1714
) {
1815
author("cssxsh")
1916
dependsOn("xyz.cssxsh.mirai.plugin.mirai-skia-plugin", ">= 1.1.0", false)
@@ -28,10 +25,6 @@ internal object MemeHelperPlugin : KotlinPlugin(
2825
}
2926

3027
override fun onEnable() {
31-
// XXX: mirai console version check
32-
check(SemVersion.parseRangeRequirement(">= 2.12.0-RC").test(MiraiConsole.version)) {
33-
"$name $version 需要 Mirai-Console 版本 >= 2.12.0,目前版本是 ${MiraiConsole.version}"
34-
}
3528
avatarFolder = resolveDataFile("avatar").apply { mkdirs() }
3629
imageFolder = resolveDataFile("image").apply { mkdirs() }
3730
enableMemeService()

src/main/kotlin/package.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package xyz.cssxsh.mirai.meme
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.slf4j.simple.SimpleServiceProvider

0 commit comments

Comments
 (0)