build(bungeecord): OLD版 更改Java8版本的HikariCP

This commit is contained in:
2022-12-03 04:13:51 +08:00
parent 384175ae5c
commit 83c3cc0eee

View File

@@ -9,15 +9,18 @@ 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 }
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:4.1.2'
shade 'net.kyori:adventure-platform-bungeecord:4.1.2' shade 'net.kyori:adventure-platform-bungeecord:4.1.2'
oldJar 'net.kyori:adventure-platform-bungeecord:4.1.2'
// 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'
shade 'com.squareup.okhttp3:okhttp:4.10.0' shade '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:5.0.1'
shade 'com.zaxxer:HikariCP:5.0.1' shade 'com.zaxxer:HikariCP:5.0.1'
@@ -54,9 +57,6 @@ tasks.create("oldJar", Jar) {
tasks.jar.outputs.files.collect { tasks.jar.outputs.files.collect {
it.isDirectory() ? it : zipTree(it) it.isDirectory() ? it : zipTree(it)
}, },
configurations.shade.collect {
it.isDirectory() ? it : zipTree(it)
},
configurations.oldJar.collect { configurations.oldJar.collect {
it.isDirectory() ? it : zipTree(it) it.isDirectory() ? it : zipTree(it)
} }