9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2026-01-06 15:41:35 +00:00

Use libraries for caffeine and adventure

This commit is contained in:
SamB440
2023-03-31 17:22:33 +01:00
parent b8962a4159
commit f6a8aad7e6
3 changed files with 8 additions and 10 deletions

View File

@@ -87,11 +87,9 @@ allprojects {
relocate("com.convallyria.languagy", "net.islandearth.rpgregions.libs.languagy")
relocate("io.papermc.lib", "net.islandearth.rpgregions.libs.paperlib")
relocate("redempt.crunch", "net.islandearth.rpgregions.libs.crunch")
relocate("com.github.benmanes.caffeine", "net.islandearth.rpgregions.libs.caffeine")
relocate("co.aikar.idb", "net.islandearth.rpgregions.libs.idb")
relocate("com.github.stefvanschie.inventoryframework", "net.islandearth.rpgregions.libs.inventoryframework")
relocate("org.bstats", "net.islandearth.rpgregions.libs.bstats")
relocate("org.apache.commons.lang3", "net.islandearth.rpgregions.libs.lang3")
relocate("me.lucko.helper", "net.islandearth.rpgregions.libs.helper")
relocate("net.wesjd", "net.islandearth.rpgregions.libs.anvilgui")
}

View File

@@ -20,11 +20,7 @@ dependencies {
exclude("org.checkerframework")
exclude("net.kyori")
}
implementation("net.kyori:adventure-platform-bukkit:4.3.0")
implementation("com.github.ben-manes.caffeine:caffeine:3.1.5") {
exclude("org.checkerframework")
}
implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("net.wesjd:anvilgui:1.6.3-SNAPSHOT") // anvilgui
implementation("com.github.stefvanschie.inventoryframework:IF:0.10.9") // inventory framework
implementation("co.aikar:idb-core:1.0.0-SNAPSHOT") // database
@@ -32,6 +28,10 @@ dependencies {
implementation("io.papermc:paperlib:1.0.7") // paperlib - async teleport on Paper
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT")
compileOnly("net.kyori:adventure-platform-bukkit:4.3.0") // IMPLEMENTED VIA LIBRARIES
compileOnly("com.github.ben-manes.caffeine:caffeine:3.1.5") { // IMPLEMENTED VIA LIBRARIES
exclude("org.checkerframework")
}
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.4-SNAPSHOT") {
exclude("com.destroystokyo.paper")
exclude("org.spigotmc")
@@ -78,8 +78,6 @@ tasks {
}
shadowJar {
minimize {
exclude(dependency("com.github.ben-manes.caffeine:caffeine:3.1.5"))
}
minimize()
}
}

View File

@@ -4,6 +4,8 @@ main: net.islandearth.rpgregions.RPGRegions
api-version: '1.16'
libraries:
- "com.zaxxer:HikariCP:4.0.3" # database
- "net.kyori:adventure-platform-bukkit:4.3.0"
- "com.github.ben-manes.caffeine:caffeine:3.1.5"
softdepend: [Hyperverse, Multiverse, UltraRegions, WorldGuard, PlaceholderAPI, HeadDatabase, Residence, Plan, GriefPrevention, GriefDefender, Vault, MythicMobs, AlonsoLevels, Dynmap, ProtocolLib, Quests, BetonQuest, Lands, MMOCore, CustomStructures]
authors: [SamB440]
description: Discoverable regions