TF-EssentialsX/EssentialsGeoIP/build.gradle

23 lines
694 B
Groovy
Raw Normal View History

plugins {
id("essentials.shadow-module")
}
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'
}