build: 更新 adventure 版本

This commit is contained in:
2023-06-04 15:46:37 +08:00
parent 602176c540
commit 094eb0a671
4 changed files with 20 additions and 6 deletions

View File

@@ -25,6 +25,12 @@ dependencies {
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
api "net.kyori:adventure-platform-bukkit:${adventure_version}"
oldJar "net.kyori:adventure-platform-bukkit:${adventure_version}"
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
api "net.kyori:adventure-text-minimessage:${adventure_serializer_version}"
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-gson
api "net.kyori:adventure-text-serializer-gson:${adventure_serializer_version}"
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-legacy
api "net.kyori:adventure-text-serializer-legacy:${adventure_serializer_version}"
// // https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
// api 'com.squareup.okhttp3:okhttp:4.10.0'
@@ -39,7 +45,11 @@ dependencies {
processResources {
inputs.property "version", project.version
filesMatching("plugin.yml") {
expand "version": project.version, "adventure_version": adventure_version, "HikariCP_version": HikariCP_version
expand "version": project.version,
"adventure_version": adventure_version,
"adventure_serializer_version": adventure_serializer_version,
"HikariCP_version": HikariCP_version
}
}

View File

@@ -19,6 +19,9 @@ loadbefore:
libraries:
- 'net.kyori:adventure-platform-bukkit:${adventure_version}'
- 'net.kyori:adventure-text-minimessage:${adventure_serializer_version}'
- 'net.kyori:adventure-text-serializer-gson:${adventure_serializer_version}'
- 'net.kyori:adventure-text-serializer-legacy:${adventure_serializer_version}'
- 'com.squareup.okhttp3:okhttp:4.10.0'
- 'com.zaxxer:HikariCP:5.0.1'