mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-11-18 19:14:18 +01:00
Fix GeoIP dependencies (#6314)
During the gradle/shadow upgrades during the 1.21.9 update, shadow removed implicit wildcards. Explicitly declare all shadow depends for jackson in geoip. Also get rid of mavenCentral since paper mirrors it, was causing resolution issues for mockbukkit Fixes #6313
This commit is contained in:
parent
8982aaec1d
commit
4dabeb57db
@ -13,7 +13,9 @@ shadowJar {
|
||||
include (dependency('com.maxmind.geoip2:geoip2'))
|
||||
include (dependency('com.maxmind.db:maxmind-db'))
|
||||
include (dependency('javatar:javatar'))
|
||||
include (dependency('com.fasterxml.jackson.core:'))
|
||||
include (dependency('com.fasterxml.jackson.core:jackson-core'))
|
||||
include (dependency('com.fasterxml.jackson.core:jackson-annotations'))
|
||||
include (dependency('com.fasterxml.jackson.core:jackson-databind'))
|
||||
}
|
||||
|
||||
relocate 'com.maxmind', 'com.earth2me.essentials.geoip.libs.maxmind'
|
||||
|
||||
@ -22,14 +22,6 @@ dependencyResolutionManagement {
|
||||
maven("https://libraries.minecraft.net/") {
|
||||
content { includeGroup("com.mojang") }
|
||||
}
|
||||
mavenCentral {
|
||||
content {
|
||||
includeGroup("net.kyori")
|
||||
includeGroup("net.dv8tion")
|
||||
includeGroup("org.apache.logging.log4j")
|
||||
includeGroup("org.mockbukkit.mockbukkit")
|
||||
}
|
||||
}
|
||||
}
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user