mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Remove some dependencies
This commit is contained in:
1 parent
b796b46b52
commit
dfbdfe22d4
3 files changed
+1
-13
No files matched your search
@@ -7,12 +7,10 @@ dependencies {
|
|||||||
|
|
||||||
api("net.kyori:adventure-api:$ADVENTURE_VER")
|
api("net.kyori:adventure-api:$ADVENTURE_VER")
|
||||||
api("net.kyori:adventure-nbt:$ADVENTURE_VER")
|
api("net.kyori:adventure-nbt:$ADVENTURE_VER")
|
||||||
api("net.kyori:adventure-platform-api:$ADVENTURE_PLATFORM_VER")
|
|
||||||
api("net.kyori:adventure-text-serializer-plain:$ADVENTURE_VER")
|
api("net.kyori:adventure-text-serializer-plain:$ADVENTURE_VER")
|
||||||
api("net.kyori:adventure-text-serializer-gson:$ADVENTURE_VER") {
|
api("net.kyori:adventure-text-serializer-gson:$ADVENTURE_VER") {
|
||||||
//excludeGroup("com.google.code.gson")
|
//excludeGroup("com.google.code.gson")
|
||||||
}
|
}
|
||||||
api("net.kyori:adventure-text-serializer-legacy:$ADVENTURE_VER")
|
|
||||||
api("net.kyori:adventure-text-minimessage:$MINIMESSAGE_VER")
|
api("net.kyori:adventure-text-minimessage:$MINIMESSAGE_VER")
|
||||||
|
|
||||||
api("net.kyori:event-api:$KYORI_EVENT_API_VER")
|
api("net.kyori:event-api:$KYORI_EVENT_API_VER")
|
||||||
@@ -28,8 +26,6 @@ dependencies {
|
|||||||
|
|
||||||
// Provided by Minecraft
|
// Provided by Minecraft
|
||||||
compileOnlyApi("org.apache.logging.log4j:log4j-api:2.11.2")
|
compileOnlyApi("org.apache.logging.log4j:log4j-api:2.11.2")
|
||||||
|
|
||||||
compileOnlyApi("net.luckperms:api:$LUCKPERMS_API_VER")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,10 +13,6 @@ dependencies {
|
|||||||
compileOnly("com.destroystokyo.paper:paper-api:$PAPER_API_VER")
|
compileOnly("com.destroystokyo.paper:paper-api:$PAPER_API_VER")
|
||||||
implementation("io.papermc", "paperlib", "1.0.6")
|
implementation("io.papermc", "paperlib", "1.0.6")
|
||||||
|
|
||||||
// Adventure
|
|
||||||
implementation("net.kyori:adventure-platform-bukkit:$ADVENTURE_PLATFORM_VER")
|
|
||||||
implementation("net.kyori:adventure-text-serializer-bungeecord:$ADVENTURE_PLATFORM_VER")
|
|
||||||
|
|
||||||
// Config
|
// Config
|
||||||
implementation("org.spongepowered:configurate-yaml:$CONFIGURATE_VER")
|
implementation("org.spongepowered:configurate-yaml:$CONFIGURATE_VER")
|
||||||
implementation("org.yaml:snakeyaml:$SNAKEYAML_VER")
|
implementation("org.yaml:snakeyaml:$SNAKEYAML_VER")
|
||||||
@@ -29,7 +25,6 @@ dependencies {
|
|||||||
|
|
||||||
// Plugins
|
// Plugins
|
||||||
compileOnly("me.clip:placeholderapi:$PLACEHOLDER_API_VER")
|
compileOnly("me.clip:placeholderapi:$PLACEHOLDER_API_VER")
|
||||||
compileOnly("net.luckperms:api:$LUCKPERMS_API_VER")
|
|
||||||
compileOnly("com.github.MilkBowl:VaultAPI:$VAULT_VER")
|
compileOnly("com.github.MilkBowl:VaultAPI:$VAULT_VER")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,7 +35,7 @@ bukkit {
|
|||||||
main = "net.draycia.carbon.bukkit.CarbonChatBukkit"
|
main = "net.draycia.carbon.bukkit.CarbonChatBukkit"
|
||||||
apiVersion = "1.13"
|
apiVersion = "1.13"
|
||||||
author = "Draycia"
|
author = "Draycia"
|
||||||
depend = listOf("PlaceholderAPI", "Vault", "LuckPerms")
|
depend = listOf("PlaceholderAPI", "Vault")
|
||||||
loadBefore = listOf("Essentials")
|
loadBefore = listOf("Essentials")
|
||||||
website = rootProject.ext["github"] as String
|
website = rootProject.ext["github"] as String
|
||||||
permissions {
|
permissions {
|
||||||
@@ -96,7 +91,6 @@ tasks {
|
|||||||
relocate("org.codehaus", "net.draycia.carbon.libs.codehaus")
|
relocate("org.codehaus", "net.draycia.carbon.libs.codehaus")
|
||||||
relocate("io.leangen.geantyref", "net.draycia.carbon.libs.typereference")
|
relocate("io.leangen.geantyref", "net.draycia.carbon.libs.typereference")
|
||||||
relocate("io.lettuce", "net.draycia.carbon.libs.lettuce")
|
relocate("io.lettuce", "net.draycia.carbon.libs.lettuce")
|
||||||
relocate("co.aikar.idb", "net.draycia.carbon.libs.idb")
|
|
||||||
relocate("cloud.commandframework", "net.draycia.carbon.libs.cloud")
|
relocate("cloud.commandframework", "net.draycia.carbon.libs.cloud")
|
||||||
relocate("com.zaxxer.hikari", "net.draycia.carbon.libs.hikari")
|
relocate("com.zaxxer.hikari", "net.draycia.carbon.libs.hikari")
|
||||||
relocate("com.typesafe.config", "net.draycia.carbon.libs.typesafe.config")
|
relocate("com.typesafe.config", "net.draycia.carbon.libs.typesafe.config")
|
||||||
|
|||||||
@@ -32,13 +32,11 @@ tasks {
|
|||||||
archive.copyTo(libs.resolve(archive.name), overwrite = true)
|
archive.copyTo(libs.resolve(archive.name), overwrite = true)
|
||||||
}
|
}
|
||||||
relocate("org.yaml", "net.draycia.carbon.libs.org.yaml")
|
relocate("org.yaml", "net.draycia.carbon.libs.org.yaml")
|
||||||
relocate("org.spongepowered.configurate", "net.draycia.carbon.libs.configurate")
|
|
||||||
relocate("org.checkerframework", "net.draycia.carbon.libs.checkerframework")
|
relocate("org.checkerframework", "net.draycia.carbon.libs.checkerframework")
|
||||||
relocate("org.reactivestreams", "net.draycia.carbon.libs.reactivestreams")
|
relocate("org.reactivestreams", "net.draycia.carbon.libs.reactivestreams")
|
||||||
relocate("org.codehaus", "net.draycia.carbon.libs.codehaus")
|
relocate("org.codehaus", "net.draycia.carbon.libs.codehaus")
|
||||||
relocate("io.leangen.geantyref", "net.draycia.carbon.libs.typereference")
|
relocate("io.leangen.geantyref", "net.draycia.carbon.libs.typereference")
|
||||||
relocate("io.lettuce", "net.draycia.carbon.libs.lettuce")
|
relocate("io.lettuce", "net.draycia.carbon.libs.lettuce")
|
||||||
relocate("co.aikar.idb", "net.draycia.carbon.libs.idb")
|
|
||||||
relocate("cloud.commandframework", "net.draycia.carbon.libs.cloud")
|
relocate("cloud.commandframework", "net.draycia.carbon.libs.cloud")
|
||||||
relocate("com.zaxxer.hikari", "net.draycia.carbon.libs.hikari")
|
relocate("com.zaxxer.hikari", "net.draycia.carbon.libs.hikari")
|
||||||
relocate("com.typesafe.config", "net.draycia.carbon.libs.typesafe.config")
|
relocate("com.typesafe.config", "net.draycia.carbon.libs.typesafe.config")
|
||||||
|
|||||||
Reference in new issue
Block a user