mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-05 23:08:23 +00:00
b2886969f0
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com> Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
54 lines
2 KiB
Groovy
54 lines
2 KiB
Groovy
plugins {
|
|
id("essentials.shadow-module")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly('com.github.milkbowl:VaultAPI:1.7') {
|
|
exclude group: "org.bukkit", module: "bukkit"
|
|
}
|
|
compileOnly 'net.luckperms:api:5.0'
|
|
|
|
api 'io.papermc:paperlib:1.0.6'
|
|
|
|
api 'org.bstats:bstats-bukkit:2.2.1'
|
|
|
|
implementation 'org.spongepowered:configurate-yaml:4.1.2'
|
|
implementation 'org.checkerframework:checker-qual:3.14.0'
|
|
|
|
// Providers
|
|
api project(':providers:BaseProviders')
|
|
api project(':providers:PaperProvider')
|
|
api(project(':providers:NMSReflectionProvider')) {
|
|
exclude group: "org.bukkit", module: "bukkit"
|
|
}
|
|
api(project(':providers:1_8Provider')) {
|
|
exclude group: "org.bukkit", module: "bukkit"
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
include (dependency('io.papermc:paperlib'))
|
|
include (dependency('org.bstats:bstats-bukkit'))
|
|
include (dependency('org.bstats:bstats-base'))
|
|
include (dependency('org.spongepowered:configurate-yaml'))
|
|
include (dependency('org.spongepowered:configurate-core'))
|
|
include (dependency('org.yaml:snakeyaml'))
|
|
include (dependency('io.leangen.geantyref:geantyref'))
|
|
include (dependency('org.checkerframework:checker-qual'))
|
|
include (project(':providers:BaseProviders'))
|
|
include (project(':providers:PaperProvider'))
|
|
include (project(':providers:NMSReflectionProvider'))
|
|
include (project(':providers:1_8Provider'))
|
|
}
|
|
relocate 'io.papermc.lib', 'com.earth2me.essentials.paperlib'
|
|
relocate 'org.bstats', 'com.earth2me.essentials.libs.bstats'
|
|
relocate 'org.spongepowered.configurate', 'com.earth2me.essentials.libs.configurate'
|
|
relocate 'org.yaml.snakeyaml', 'com.earth2me.essentials.libs.snakeyaml'
|
|
relocate 'io.leangen.geantyref', 'com.earth2me.essentials.libs.geantyref'
|
|
relocate 'org.checkerframework', 'com.earth2me.essentials.libs.checkerframework'
|
|
|
|
minimize {
|
|
include(dependency('org.checkerframework:checker-qual'))
|
|
}
|
|
}
|