Skip to content

Commit 3985c14

Browse files
committed
build: mirai-skia-plugin 1.0.4-M2
1 parent d98cc63 commit 3985c14

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

build.gradle.kts

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "xyz.cssxsh.mirai"
10-
version = "1.0.4-M1"
10+
version = "1.0.4-M2"
1111

1212
repositories {
1313
mavenLocal()
@@ -49,8 +49,6 @@ kotlin {
4949
tasks {
5050
test {
5151
useJUnitPlatform()
52-
53-
systemProperty("java.library.path", workingDir.resolve("jni").absolutePath)
5452
}
5553
}
5654

src/main/kotlin/xyz/cssxsh/mirai/plugin/MiraiSkiaPlugin.kt

+1-7
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,9 @@ public object MiraiSkiaPlugin : KotlinPlugin(
2727
launch {
2828
loadTypeface(folder = dataFolder.resolve("fonts"))
2929
logger.info { "fonts: ${FontUtils.provider.makeFamilies().keys}" }
30-
31-
try {
32-
xyz.cssxsh.gif.Library.staticLoad()
33-
} catch (cause: Throwable) {
34-
logger.warning { cause.message }
35-
}
3630
}
3731

38-
val test = System.getProperty("xyz.cssxsh.skia.test", "false").toBoolean()
32+
val test = System.getProperty("xyz.cssxsh.skia.test").toBoolean()
3933
if (test) {
4034
launch {
4135
loadFace(folder = dataFolder.resolve("face"))

0 commit comments

Comments
 (0)