Skip to content

Commit d6e1c84

Browse files
committed
build: 1.3.2
1 parent da22bae commit d6e1c84

File tree

7 files changed

+22
-13
lines changed

7 files changed

+22
-13
lines changed

CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
## 1.3.1 (23/02/18)
22

3+
1. fix: download filename
4+
2. update: skiko 0.7.58
5+
3. update: commons-compress 1.23.0
6+
4. update: jsoup 1.16.1
7+
5. feat: match noto color emoji
8+
6. fix: android-arm64 download
9+
10+
## 1.3.1 (23/02/18)
11+
312
1. update: skiko 0.7.54
4-
2. update: jsoup:1.15.4
13+
2. update: jsoup 1.15.4
514
3. fix: download fonts
615

716
## 1.3.0 (23/02/18)

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ loadJNILibrary()
100100

101101
| OS/Arch | Plugin | Skiko | Gif |
102102
|:----------------------:|:------:|:------:|:-----:|
103-
| Windows-10-X64 | 1.3.0 | 0.7.54 | 2.0.8 |
104-
| GNU/Linux-X64 | 1.3.0 | 0.7.54 | 2.0.8 |
105-
| GNU/Linux-ARM64 | 1.3.0 | 0.7.54 | 2.0.8 |
106-
| MacOS-X64 | 1.3.0 | 0.7.54 | 2.0.8 |
107-
| MacOS-ARM64 | 1.3.0 | 0.7.54 | 2.0.8 |
108-
| Termux (Android-ARM64) | 1.3.0 | 0.7.54 | 2.0.8 |
103+
| Windows-10-X64 | 1.3.2 | 0.7.58 | 2.0.8 |
104+
| GNU/Linux-X64 | 1.3.2 | 0.7.58 | 2.0.8 |
105+
| GNU/Linux-ARM64 | 1.3.2 | 0.7.58 | 2.0.8 |
106+
| MacOS-X64 | 1.3.2 | 0.7.58 | 2.0.8 |
107+
| MacOS-ARM64 | 1.3.2 | 0.7.58 | 2.0.8 |
108+
| Termux (Android-ARM64) | 1.3.2 | 0.7.54 | 2.0.8 |
109109

110110
暂时不支持 `Alpine Linux``MUSL/linux` 系统, 你可以关注 [![issue-11](https://shields.io/github/issues/detail/state/cssxsh/mirai-skia-plugin/11)](https://github.com/cssxsh/mirai-skia-plugin/issues/11)
111111

build.gradle.kts

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

99
group = "xyz.cssxsh.mirai"
10-
version = "1.3.1"
10+
version = "1.3.2"
1111

1212
mavenCentralPublish {
1313
useCentralS01()
@@ -21,7 +21,6 @@ mavenCentralPublish {
2121
}
2222

2323
repositories {
24-
mavenLocal()
2524
mavenCentral()
2625
maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev")
2726
}
@@ -30,7 +29,7 @@ dependencies {
3029
api("org.jetbrains.skiko:skiko-awt:0.7.58")
3130
implementation("org.apache.commons:commons-compress:1.23.0")
3231
implementation("org.tukaani:xz:1.9")
33-
implementation("org.jsoup:jsoup:1.15.4")
32+
implementation("org.jsoup:jsoup:1.16.1")
3433
testImplementation(kotlin("test"))
3534
//
3635
implementation(platform("net.mamoe:mirai-bom:2.14.0"))

src/main/kotlin/xyz/cssxsh/mirai/skia/MiraiSkiaDownloader.kt

+1
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ public fun checkPlatform() {
314314
} catch (_: Exception) {
315315
logger.warning { "修改 hostId 失败" }
316316
}
317+
System.setProperty("xyz.cssxsh.mirai.skiko.version", "0.7.54")
317318
}
318319
}
319320

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public object MiraiSkiaPlugin : KotlinPlugin(
1818
JvmPluginDescription(
1919
id = "xyz.cssxsh.mirai.plugin.mirai-skia-plugin",
2020
name = "mirai-skia-plugin",
21-
version = "1.3.1",
21+
version = "1.3.2",
2222
) {
2323
author("cssxsh")
2424
}

src/main/kotlin/xyz/cssxsh/skia/FontUtils.kt

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import kotlin.jvm.*
1515
*/
1616
public object FontUtils {
1717

18+
@PublishedApi
1819
internal val instances: Sequence<FontMgr> = sequence {
1920
yield(provider)
2021
yield(FontMgr.default)

src/test/kotlin/xyz/cssxsh/gif/EncoderTest.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package xyz.cssxsh.gif
22

33
import kotlinx.coroutines.*
44
import org.jetbrains.skia.*
5-
import org.junit.jupiter.api.Test
5+
import org.junit.jupiter.api.*
66
import xyz.cssxsh.mirai.skia.*
77
import xyz.cssxsh.skia.*
88
import java.io.File
@@ -49,7 +49,6 @@ internal class EncoderTest {
4949

5050
encoder.writeImage(image, 20, AnimationDisposalMode.RESTORE_BG_COLOR)
5151
}
52-
5352
}
5453
}
5554

0 commit comments

Comments
 (0)