Skip to content

Commit 7fe8e18

Browse files
author
ChiyodaXiaoYi
committed
[1.1.1]修复玩家、实体、物品名字无法显示Hex颜色代码的BUG
1 parent c596626 commit 7fe8e18

File tree

4 files changed

+206
-152
lines changed

4 files changed

+206
-152
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Build with Gradle
3232
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
3333
with:
34-
arguments: shadowJar
34+
arguments: clean build
3535
- uses: actions/upload-artifact@v3
3636
with:
3737
name: artifacts

build.gradle.kts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ repositories {
2222

2323
dependencies {
2424
compileOnly("org.spigotmc:spigot:1.19-R0.1-SNAPSHOT")
25-
compileOnly("dev.folia:folia-api:1.19.4-R0.1-SNAPSHOT")
25+
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT")
2626
compileOnly("net.luckperms:api:5.4")
2727
compileOnly("me.clip:placeholderapi:2.11.1")
2828
implementation("com.github.YufiriaMazenta:CrypticLib:1.0.1")
2929
}
3030

3131
group = "com.github.yufiriamazenta"
32-
version = "1.1.0"
32+
version = "1.1.1"
3333
description = "DeathMessage"
3434
java.sourceCompatibility = JavaVersion.VERSION_17
3535
java.sourceCompatibility = JavaVersion.VERSION_17
@@ -44,16 +44,19 @@ tasks {
4444
val props = HashMap<String, String>()
4545
val pluginVersion: String = version.toString() + "-" + SimpleDateFormat("yyyyMMdd").format(System.currentTimeMillis())
4646
props["version"] = pluginVersion
47-
"processResources"(ProcessResources::class) {
47+
processResources {
4848
filesMatching("plugin.yml") {
4949
expand(props)
5050
}
5151
}
5252
compileJava {
5353
options.encoding = "UTF-8"
5454
}
55+
build {
56+
dependsOn(shadowJar)
57+
}
5558
shadowJar {
5659
archiveFileName.set("DeathMessage-$version.jar")
57-
relocate("crypticlib", "com.github.yufiriamazenta.crypticlib")
60+
relocate("crypticlib", "com.github.yufiriamazenta.deathmsg.crypticlib")
5861
}
5962
}

0 commit comments

Comments
 (0)