build: 更新 adventure 版本
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
org.gradle.jvmargs=-Xmx2G
|
org.gradle.jvmargs=-Xmx2G
|
||||||
adventure_version=4.3.0
|
adventure_version=4.3.0
|
||||||
|
adventure_serializer_version=4.13.0
|
||||||
HikariCP_version=5.0.1
|
HikariCP_version=5.0.1
|
@@ -25,6 +25,12 @@ dependencies {
|
|||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
|
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
|
||||||
api "net.kyori:adventure-platform-bukkit:${adventure_version}"
|
api "net.kyori:adventure-platform-bukkit:${adventure_version}"
|
||||||
oldJar "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
|
// // https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
|
||||||
// api 'com.squareup.okhttp3:okhttp:4.10.0'
|
// api 'com.squareup.okhttp3:okhttp:4.10.0'
|
||||||
@@ -39,7 +45,11 @@ dependencies {
|
|||||||
processResources {
|
processResources {
|
||||||
inputs.property "version", project.version
|
inputs.property "version", project.version
|
||||||
filesMatching("plugin.yml") {
|
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
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,6 +19,9 @@ loadbefore:
|
|||||||
|
|
||||||
libraries:
|
libraries:
|
||||||
- 'net.kyori:adventure-platform-bukkit:${adventure_version}'
|
- '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.squareup.okhttp3:okhttp:4.10.0'
|
||||||
- 'com.zaxxer:HikariCP:5.0.1'
|
- 'com.zaxxer:HikariCP:5.0.1'
|
||||||
|
|
||||||
|
@@ -10,16 +10,16 @@ dependencies {
|
|||||||
compileOnly 'com.squareup.okhttp3:okhttp:4.10.0'
|
compileOnly 'com.squareup.okhttp3:okhttp:4.10.0'
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-api
|
// https://mvnrepository.com/artifact/net.kyori/adventure-api
|
||||||
compileOnly 'net.kyori:adventure-api:4.13.0'
|
compileOnly 'net.kyori:adventure-api:${adventure_version}'
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
|
||||||
compileOnly 'net.kyori:adventure-text-minimessage:4.13.0'
|
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-api
|
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-api
|
||||||
compileOnly "net.kyori:adventure-platform-api:${adventure_version}"
|
compileOnly "net.kyori:adventure-platform-api:${adventure_version}"
|
||||||
|
|
||||||
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
||||||
|
compileOnly "net.kyori:adventure-text-minimessage:${adventure_serializer_version}"
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-gson
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-gson
|
||||||
compileOnly 'net.kyori:adventure-text-serializer-gson:4.13.0'
|
compileOnly "net.kyori:adventure-text-serializer-gson:${adventure_serializer_version}"
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-legacy
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-legacy
|
||||||
compileOnly 'net.kyori:adventure-text-serializer-legacy:4.13.0'
|
compileOnly "net.kyori:adventure-text-serializer-legacy:${adventure_serializer_version}"
|
||||||
|
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
||||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
||||||
|
Reference in New Issue
Block a user