2018-12-18 20:13:05 +01:00
|
|
|
dependencies {
|
|
|
|
compile "com.djrapitops:AbstractPluginFramework-api:$abstractPluginFrameworkVersion"
|
2019-04-03 21:44:26 +02:00
|
|
|
compile project(":api")
|
2019-03-20 12:37:56 +01:00
|
|
|
compile project(path: ":extensions", configuration: 'shadow')
|
2018-12-18 20:13:05 +01:00
|
|
|
compile "com.djrapitops:PlanPluginBridge:$planPluginBridgeVersion"
|
|
|
|
compile "org.apache.httpcomponents:httpclient:$httpClientVersion"
|
|
|
|
compile "org.apache.commons:commons-text:$commonsTextVersion"
|
|
|
|
compile "com.googlecode.htmlcompressor:htmlcompressor:$htmlCompressorVersion"
|
|
|
|
compile "com.github.ben-manes.caffeine:caffeine:$caffeineVersion"
|
|
|
|
compile "com.h2database:h2:$h2Version"
|
|
|
|
compile "com.zaxxer:HikariCP:$hikariVersion"
|
2019-01-08 20:36:13 +01:00
|
|
|
compile "org.slf4j:slf4j-nop:$slf4jVersion"
|
2018-12-18 20:13:05 +01:00
|
|
|
compile "org.slf4j:slf4j-api:$slf4jVersion"
|
|
|
|
compile "com.maxmind.geoip2:geoip2:$geoIpVersion"
|
|
|
|
compileOnly "com.google.guava:guava:$guavaVersion"
|
2019-03-20 16:17:23 +01:00
|
|
|
|
2019-04-03 21:44:26 +02:00
|
|
|
testCompile project(":api")
|
2018-12-18 20:13:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
2018-12-19 18:08:07 +01:00
|
|
|
configurations = [project.configurations.compile]
|
|
|
|
|
|
|
|
// Exclude these files
|
|
|
|
exclude "org/json/**/*"
|
|
|
|
exclude "**/*.svg"
|
|
|
|
exclude "**/*.ttf"
|
|
|
|
exclude "**/*.woff"
|
|
|
|
exclude "**/*.eot"
|
|
|
|
exclude "**/*.woff2"
|
|
|
|
exclude "**/*.psd"
|
|
|
|
|
|
|
|
relocate('org.apache', 'plan.org.apache') {
|
2018-12-18 20:13:05 +01:00
|
|
|
exclude 'org/apache/logging/**'
|
|
|
|
}
|
|
|
|
relocate 'com.maxmind', 'plan.com.maxmind'
|
|
|
|
relocate 'com.fasterxml', 'plan.com.fasterxml'
|
|
|
|
relocate 'com.zaxxer', 'plan.com.zaxxer'
|
|
|
|
relocate 'org.h2', 'plan.org.h2'
|
|
|
|
relocate 'org.bstats', 'plan.org.bstats'
|
|
|
|
relocate 'org.slf4j', 'plan.org.slf4j'
|
2018-12-19 18:08:07 +01:00
|
|
|
relocate 'com.google.dagger', 'plan.com.google.dagger'
|
2018-12-18 20:13:05 +01:00
|
|
|
}
|