Skip to content

Commit 4dabeb5

Browse files
authored
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
1 parent 8982aae commit 4dabeb5

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

EssentialsGeoIP/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ shadowJar {
1313
include (dependency('com.maxmind.geoip2:geoip2'))
1414
include (dependency('com.maxmind.db:maxmind-db'))
1515
include (dependency('javatar:javatar'))
16-
include (dependency('com.fasterxml.jackson.core:'))
16+
include (dependency('com.fasterxml.jackson.core:jackson-core'))
17+
include (dependency('com.fasterxml.jackson.core:jackson-annotations'))
18+
include (dependency('com.fasterxml.jackson.core:jackson-databind'))
1719
}
1820

1921
relocate 'com.maxmind', 'com.earth2me.essentials.geoip.libs.maxmind'

settings.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ dependencyResolutionManagement {
2222
maven("https://libraries.minecraft.net/") {
2323
content { includeGroup("com.mojang") }
2424
}
25-
mavenCentral {
26-
content {
27-
includeGroup("net.kyori")
28-
includeGroup("net.dv8tion")
29-
includeGroup("org.apache.logging.log4j")
30-
includeGroup("org.mockbukkit.mockbukkit")
31-
}
32-
}
3325
}
3426
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
3527
}

0 commit comments

Comments
 (0)