9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2025-12-27 02:39:07 +00:00

Require 1.17, use 1.17 libraries feature, update hikari

This commit is contained in:
SamB440
2021-06-12 16:45:39 +01:00
parent bacce72d78
commit 3bb6db4636
3 changed files with 25 additions and 11 deletions

View File

@@ -57,7 +57,15 @@ dependencies {
implementation project(':api')
}
shadowJar {
tasks.shadowJar {
dependencies {
exclude(dependency {
it.moduleGroup == 'commons-io'
})
exclude(dependency {
it.moduleGroup == 'commons-codec'
})
}
relocate 'net.islandearth.languagy', 'net.islandearth.rpgregions.libs.languagy'
relocate 'co.aikar.commands', 'net.islandearth.rpgregions.libs.acf'
relocate 'co.aikar.idb', 'net.islandearth.rpgregions.libs.idb'

View File

@@ -1,4 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow'
id 'java'
}
@@ -57,9 +58,6 @@ dependencies {
implementation 'com.gitlab.samb440:languagy:2.0.3-RELEASE' // languagy
implementation 'co.aikar:acf-paper:0.5.0-SNAPSHOT' // commands
implementation 'co.aikar:idb-core:1.0.0-SNAPSHOT' // database
implementation 'com.zaxxer:HikariCP:2.4.1' // database
implementation 'org.apache.commons:commons-lang3:3.6' // apache commons (included as it has changed in versions)
implementation 'com.github.stefvanschie.inventoryframework:IF:0.9.8' // inventory framework
implementation 'org.bstats:bstats-bukkit:2.2.1' // plugin stats
implementation 'io.papermc:paperlib:1.0.4' // paperlib - async teleport on Paper
@@ -72,9 +70,13 @@ dependencies {
exclude group: 'org.bukkit'
exclude group: 'org.spigotmc'
}
compileOnly 'com.github.stefvanschie.inventoryframework:IF:0.9.8' // IMPLEMENTED VIA LIBRARIES - inventory framework
compileOnly 'com.zaxxer:HikariCP:2.4.1' // IMPLEMENTED VIA LIBRARIES - database
compileOnly 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT' // spigot
compileOnly 'me.clip:placeholderapi:2.10.4' // PAPI
compileOnly 'com.github.MilkBowl:VaultAPI:1.7' // vault
compileOnly ('com.github.MilkBowl:VaultAPI:1.7') { // vault
exclude group: 'org.bukkit'
}
compileOnly name: 'AlonsoLevels_v2.0-BETA' // alonsolevels
compileOnly name: 'Quests-4.0.1' // quests
compileOnly 'com.github.shynixn.headdatabase:hdb-api:1.0' // head database
@@ -86,6 +88,11 @@ dependencies {
compileOnly project(':api')
}
configurations.all {
exclude group: 'commons-io'
exclude group: 'commons-codec'
}
javadoc {
exclude 'net/islandearth/rpgregions/translation/**'
exclude 'net/islandearth/rpgregions/listener/**'

View File

@@ -1,12 +1,11 @@
name: RPGRegions
version: @version@
main: net.islandearth.rpgregions.RPGRegions
api-version: '1.16'
api-version: '1.17'
libraries:
- "com.zaxxer:HikariCP:4.0.3" # database
- "com.github.stefvanschie.inventoryframework:IF:0.9.8" # inventory framework
softdepend: [Hyperverse, Multiverse, Languagy, UltraRegions, WorldGuard, PlaceholderAPI, HeadDatabase, Residence, Plan, GriefPrevention, Vault, MythicMobs, AlonsoLevels, Dynmap]
authors: [SamB440]
description: Discoverable regions
website: https://fortitude.islandearth.net
commands:
rpgregions:
usage: /rpgregions
description: Base RPGRegions command
website: https://fortitude.islandearth.net