mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-14 22:55:55 +01:00
f29f9e1aba
Relocates jackson, javatar and the MaxMind database libraries to avoid conflicts with other plugins.
19 lines
646 B
Groovy
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'
|
|
}
|