2021-06-07 12:17:39 +00:00
|
|
|
plugins {
|
|
|
|
id("essentials.shadow-module")
|
|
|
|
}
|
|
|
|
|
2020-11-25 20:24:24 +00:00
|
|
|
dependencies {
|
|
|
|
compileOnly('com.github.milkbowl:VaultAPI:1.7') {
|
|
|
|
exclude group: "org.bukkit", module: "bukkit"
|
|
|
|
}
|
|
|
|
compileOnly 'net.luckperms:api:5.0'
|
|
|
|
|
2020-12-02 19:44:35 +00:00
|
|
|
api 'io.papermc:paperlib:1.0.6'
|
2020-11-25 20:24:24 +00:00
|
|
|
|
2021-06-07 12:49:33 +00:00
|
|
|
implementation 'org.spongepowered:configurate-yaml:4.1.1'
|
2021-06-08 22:36:43 +00:00
|
|
|
implementation 'org.checkerframework:checker-qual:3.14.0'
|
2021-06-07 12:49:33 +00:00
|
|
|
|
2020-11-25 20:24:24 +00:00
|
|
|
// 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'))
|
2020-12-19 16:27:07 +00:00
|
|
|
include (dependency('org.bstats:bstats-bukkit'))
|
2021-06-07 12:49:33 +00:00
|
|
|
include (dependency('org.spongepowered:configurate-yaml'))
|
|
|
|
include (dependency('org.spongepowered:configurate-core'))
|
|
|
|
include (dependency('org.yaml:snakeyaml'))
|
|
|
|
include (dependency('io.leangen.geantyref:geantyref'))
|
2021-06-08 03:30:37 +00:00
|
|
|
include (dependency('org.checkerframework:checker-qual'))
|
2020-11-25 20:24:24 +00:00
|
|
|
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'
|
2020-12-19 16:27:07 +00:00
|
|
|
relocate 'org.bstats.bukkit', 'com.earth2me.essentials.metrics'
|
2021-06-07 12:49:33 +00:00
|
|
|
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'
|
2021-06-08 03:30:37 +00:00
|
|
|
relocate 'org.checkerframework', 'com.earth2me.essentials.libs.checkerframework'
|
2021-06-08 03:48:18 +00:00
|
|
|
|
|
|
|
minimize {
|
|
|
|
include(dependency('org.checkerframework:checker-qual'))
|
|
|
|
}
|
2020-11-25 20:24:24 +00:00
|
|
|
}
|