Essentials/EssentialsGeoIP/build.gradle
MD f29f9e1aba
Relocate GeoIP dependencies (#3976)
Relocates jackson, javatar and the MaxMind database libraries to avoid conflicts with other plugins.
2021-02-10 09:27:56 -05:00

19 lines
646 B
Groovy

dependencies {
compileOnly project(':EssentialsX')
implementation 'com.maxmind.geoip2:geoip2:2.12.0'
implementation 'javatar:javatar:2.5'
}
shadowJar {
dependencies {
include (dependency('com.maxmind.geoip2:geoip2'))
include (dependency('com.maxmind.db:maxmind-db'))
include (dependency('javatar:javatar'))
include (dependency('com.fasterxml.jackson.core:'))
}
relocate 'com.maxmind', 'com.earth2me.essentials.geoip.libs.maxmind'
relocate 'com.ice.tar', 'com.earth2me.essentials.geoip.libs.javatar'
relocate 'com.fasterxml.jackson', 'com.earth2me.essentials.geoip.libs.jackson'
}