mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-10-31 08:32:18 +01:00
Remove some workarounds for dependencydownload + exclude some mcauth transitives
This commit is contained in:
parent
02f46d2182
commit
964db4bb20
@ -35,7 +35,6 @@ shadowJar {
|
||||
'me.minecraftauth.lib',
|
||||
'com.github.kevinsawicki.http',
|
||||
'org.json.simple',
|
||||
'org.hamcrest',
|
||||
'alexh',
|
||||
|
||||
// Adventure (API isn't relocated always)
|
||||
|
@ -13,8 +13,6 @@ task generateResourceForHikari(type: GenerateDependencyDownloadResourceTask) {
|
||||
var conf = configurations.hikari
|
||||
configuration = conf
|
||||
file = 'dependencies/' + conf.name + '.txt'
|
||||
relocate 'com.zaxxer.hikari', 'com.discordsrv.dependencies.com.zaxxer.hikari'
|
||||
relocate 'org.slf4j', 'com.discordsrv.dependencies.org.slf4j'
|
||||
}
|
||||
task generateResourceForH2Driver(type: GenerateDependencyDownloadResourceTask) {
|
||||
var conf = configurations.h2Driver
|
||||
@ -73,12 +71,15 @@ dependencies {
|
||||
runtimeDownloadApi(libs.enhancedlegacytext)
|
||||
|
||||
// Database
|
||||
hikari(libs.hikaricp) { exclude group: 'org.slf4j' }
|
||||
hikari(libs.hikaricp)
|
||||
h2Driver(libs.h2)
|
||||
mysqlDriver(libs.mysql)
|
||||
|
||||
// MinecraftAuthentication library
|
||||
mcAuthLib(libs.minecraftauth.lib)
|
||||
mcAuthLib(libs.minecraftauth.lib) {
|
||||
exclude group: 'junit', module: 'junit'
|
||||
exclude group: 'org.jetbrains', module: 'annotations'
|
||||
}
|
||||
|
||||
// Brigadier
|
||||
compileOnlyApi(libs.brigadier)
|
||||
|
Loading…
Reference in New Issue
Block a user