mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-10 01:18:07 +01:00
Jozef Steinhübl
23e73cb5da
* feat: better command abstraction * feat: OfflineUserArgument type * feat: balance, balance other cmds in common & double, integer arg * feat: command manager, better arguments abstraction * feat: map args * feat: some things * feat(better command abstraction)!: switch to brigadier (#8) * feat: switch to brigadier * some updates * feat: make suggestion provider work * supress warnings * feat: pay & set command * feat: give & take command, better suggestions, permissions * refactor: cleanup * fix: dont register pay if currency is not payable * fix: send commands only if you have perms * make second test currency not payable * feat: use command's description & name * refactor: cleanup, rename bukkit to paper * refactor: cleanup, rename bukkit to paper * feat: add built-in info command * ci: build paper, not bukkit * refactor: better test organization * refactor: better test organization * feat: locks * feat: finish locking * feat: handle missing user * refactor: move methods to CommandHelper * refactor: change minimum api version * feat: console support
46 lines
No EOL
1.5 KiB
Text
46 lines
No EOL
1.5 KiB
Text
plugins {
|
|
id("lighteco.platform-logic")
|
|
}
|
|
|
|
repositories {
|
|
maven("https://repo.extendedclip.com/content/repositories/placeholderapi")
|
|
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
maven("https://oss.sonatype.org/content/repositories/snapshots")
|
|
maven("https://oss.sonatype.org/content/repositories/central")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":lighteco-common"))
|
|
|
|
implementation("net.kyori:adventure-platform-bukkit:4.2.0")
|
|
|
|
compileOnly("io.papermc.paper:paper-api:1.19.1-R0.1-SNAPSHOT")
|
|
compileOnly("io.papermc.paper:paper-mojangapi:1.19.1-R0.1-SNAPSHOT")
|
|
|
|
// PlaceholderAPI
|
|
compileOnly("me.clip:placeholderapi:2.11.3")
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.28")
|
|
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
|
|
|
compileOnly("org.checkerframework:checker-qual:3.8.0")
|
|
compileOnly("org.jetbrains:annotations:20.1.0")
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
dependencies {
|
|
exclude(dependency("com.mojang:brigadier"))
|
|
}
|
|
|
|
// common
|
|
relocate("eu.okaeri.configs", "dev.xhyrom.lighteco.libraries.okaeri.configs")
|
|
relocate("eu.okaeri.validator", "dev.xhyrom.lighteco.libraries.okaeri.validator")
|
|
|
|
relocate("org.yaml.snakeyaml", "dev.xhyrom.lighteco.libraries.org.yaml.snakeyaml")
|
|
|
|
relocate("org.mariadb.jdbc", "dev.xhyrom.lighteco.libraries.mariadb")
|
|
relocate("com.mysql", "dev.xhyrom.lighteco.libraries.mysql")
|
|
relocate("org.postgresql", "dev.xhyrom.lighteco.libraries.postgresql")
|
|
relocate("com.zaxxer.hikari", "dev.xhyrom.lighteco.libraries.hikari")
|
|
} |