Essentials/EssentialsGeoIP/build.gradle
Jason 19b4da07b9
Clean up gradle build scripts
Adds run-paper plugin support as well as moves majority of logic to kotlin build scrips

Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-06-07 08:17:39 -04:00

23 lines
694 B
Groovy

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'
}