perf: 优化依赖性能
This commit is contained in:
@@ -6,19 +6,16 @@ dependencies {
|
||||
apiShade(project(":hamster-core-common")) { transitive = false }
|
||||
|
||||
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
|
||||
apiShade 'net.kyori:adventure-platform-bukkit:4.1.2'
|
||||
|
||||
compileOnly('net.milkbowl.vault:VaultAPI:1.7') { transitive = false }
|
||||
compileOnly('org.black_ixx:playerpoints:2.1.3') { transitive = false }
|
||||
|
||||
// https://mvnrepository.com/artifact/com.zaxxer/HikariCP
|
||||
//noinspection GradlePackageUpdate
|
||||
apiShade 'com.zaxxer:HikariCP:4.0.3'
|
||||
// https://mvnrepository.com/artifact/mysql/mysql-connector-java
|
||||
shade 'mysql:mysql-connector-java:8.0.31'
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
|
||||
api 'net.kyori:adventure-platform-bukkit:4.1.2'
|
||||
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
|
||||
apiShade 'com.squareup.okhttp3:okhttp:4.10.0'
|
||||
api 'com.squareup.okhttp3:okhttp:4.10.0'
|
||||
// https://mvnrepository.com/artifact/com.zaxxer/HikariCP
|
||||
compileOnly 'com.zaxxer:HikariCP:5.0.1'
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
@@ -7,10 +7,20 @@ author: MiniDay
|
||||
website: https://github.com/MiniDay/hamster-core
|
||||
description: 仓鼠核心:Minecraft 插件开发通用工具包
|
||||
|
||||
load: STARTUP
|
||||
|
||||
softdepend:
|
||||
- Vault
|
||||
- PlayerPoints
|
||||
|
||||
loadbefore:
|
||||
- HamsterAPI
|
||||
|
||||
libraries:
|
||||
- 'net.kyori:adventure-platform-bukkit:4.1.2'
|
||||
- 'com.squareup.okhttp3:okhttp:4.10.0'
|
||||
- 'com.zaxxer:HikariCP:5.0.1'
|
||||
|
||||
commands:
|
||||
HamsterCore:
|
||||
aliases: [ hcore, core ]
|
||||
|
Reference in New Issue
Block a user