build: 更新 adventure 版本
This commit is contained in:
3
gradle.properties
Normal file
3
gradle.properties
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
org.gradle.jvmargs=-Xmx2G
|
||||||
|
adventure_version=4.3.0
|
||||||
|
HikariCP_version=5.0.1
|
@@ -7,18 +7,15 @@ configurations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":hamster-core-common")) { transitive = false }
|
api project(":hamster-core-common") transitive false
|
||||||
shade(project(":hamster-core-common")) { transitive = false }
|
shade project(":hamster-core-common") transitive false
|
||||||
|
|
||||||
//noinspection VulnerableLibrariesLocal
|
//noinspection VulnerableLibrariesLocal
|
||||||
compileOnly('org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT') {
|
compileOnly 'org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT' exclude group: "com.google.code.gson"
|
||||||
exclude group: "com.google.code.gson"
|
|
||||||
}
|
|
||||||
|
|
||||||
// shade 'net.kyori:adventure-platform-bukkit:4.1.2'
|
compileOnly 'net.milkbowl.vault:VaultAPI:1.7' transitive false
|
||||||
compileOnly('net.milkbowl.vault:VaultAPI:1.7') { transitive = false }
|
compileOnly 'org.black_ixx:playerpoints:2.1.3' transitive false
|
||||||
compileOnly('org.black_ixx:playerpoints:2.1.3') { transitive = false }
|
compileOnly "com.comphenix.protocol:ProtocolLib-API:4.4.0" transitive false
|
||||||
compileOnly("com.comphenix.protocol:ProtocolLib-API:4.4.0") { transitive = false }
|
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/com.google.code.gson/gson
|
// https://mvnrepository.com/artifact/com.google.code.gson/gson
|
||||||
//noinspection GradlePackageUpdate
|
//noinspection GradlePackageUpdate
|
||||||
@@ -26,23 +23,23 @@ dependencies {
|
|||||||
compileOnly 'com.google.code.gson:gson:2.8.0'
|
compileOnly 'com.google.code.gson:gson:2.8.0'
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
|
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
|
||||||
api 'net.kyori:adventure-platform-bukkit:4.1.2'
|
api "net.kyori:adventure-platform-bukkit:${adventure_version}"
|
||||||
oldJar 'net.kyori:adventure-platform-bukkit:4.1.2'
|
oldJar "net.kyori:adventure-platform-bukkit:${adventure_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'
|
||||||
// oldJar 'com.squareup.okhttp3:okhttp:4.10.0'
|
// oldJar 'com.squareup.okhttp3:okhttp:4.10.0'
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/com.zaxxer/HikariCP
|
// https://mvnrepository.com/artifact/com.zaxxer/HikariCP
|
||||||
compileOnly 'com.zaxxer:HikariCP:5.0.1'
|
compileOnly "com.zaxxer:HikariCP:${HikariCP_version}"
|
||||||
//noinspection GradlePackageUpdate
|
//noinspection GradlePackageUpdate
|
||||||
oldJar('com.zaxxer:HikariCP:4.0.3') exclude group: "org.slf4j"
|
oldJar 'com.zaxxer:HikariCP:4.0.3'
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
inputs.property "version", project.version
|
inputs.property "version", project.version
|
||||||
filesMatching("plugin.yml") {
|
filesMatching("plugin.yml") {
|
||||||
expand "version": project.version
|
expand "version": project.version, "adventure_version": adventure_version, "HikariCP_version": HikariCP_version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ loadbefore:
|
|||||||
- HamsterAPI
|
- HamsterAPI
|
||||||
|
|
||||||
libraries:
|
libraries:
|
||||||
- 'net.kyori:adventure-platform-bukkit:4.1.2'
|
- 'net.kyori:adventure-platform-bukkit:${adventure_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'
|
||||||
|
|
||||||
|
@@ -7,17 +7,17 @@ configurations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":hamster-core-common")) { transitive = false }
|
api project(":hamster-core-common") transitive false
|
||||||
shade(project(":hamster-core-common")) { transitive = false }
|
shade project(":hamster-core-common") transitive false
|
||||||
oldJar(project(":hamster-core-common")) { transitive = false }
|
oldJar project(":hamster-core-common") transitive false
|
||||||
|
|
||||||
//noinspection VulnerableLibrariesLocal
|
//noinspection VulnerableLibrariesLocal
|
||||||
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
|
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bungeecord
|
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bungeecord
|
||||||
api 'net.kyori:adventure-platform-bungeecord:4.1.2'
|
api "net.kyori:adventure-platform-bungeecord:${adventure_version}"
|
||||||
shade 'net.kyori:adventure-platform-bungeecord:4.1.2'
|
shade "net.kyori:adventure-platform-bungeecord:${adventure_version}"
|
||||||
oldJar 'net.kyori:adventure-platform-bungeecord:4.1.2'
|
oldJar "net.kyori:adventure-platform-bungeecord:${adventure_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'
|
||||||
|
@@ -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.11.0'
|
compileOnly 'net.kyori:adventure-api:4.13.0'
|
||||||
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
||||||
compileOnly 'net.kyori:adventure-text-minimessage:4.11.0'
|
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:4.1.2'
|
compileOnly "net.kyori:adventure-platform-api:${adventure_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.11.0'
|
compileOnly 'net.kyori:adventure-text-serializer-gson:4.13.0'
|
||||||
// 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.11.0'
|
compileOnly 'net.kyori:adventure-text-serializer-legacy:4.13.0'
|
||||||
|
|
||||||
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