From 83c3cc0eee25e702376cd1497093116c46110c9e Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Sat, 3 Dec 2022 04:13:51 +0800 Subject: [PATCH] =?UTF-8?q?build(bungeecord):=20OLD=E7=89=88=20=E6=9B=B4?= =?UTF-8?q?=E6=94=B9Java8=E7=89=88=E6=9C=AC=E7=9A=84HikariCP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hamster-core-bungeecord/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hamster-core-bungeecord/build.gradle b/hamster-core-bungeecord/build.gradle index 1d0b88a..8395216 100644 --- a/hamster-core-bungeecord/build.gradle +++ b/hamster-core-bungeecord/build.gradle @@ -9,15 +9,18 @@ configurations { dependencies { api(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' // https://mvnrepository.com/artifact/net.kyori/adventure-platform-bungeecord api '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 api '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 compileOnly '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 { it.isDirectory() ? it : zipTree(it) }, - configurations.shade.collect { - it.isDirectory() ? it : zipTree(it) - }, configurations.oldJar.collect { it.isDirectory() ? it : zipTree(it) }