mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-08 16:10:26 +00:00
move all depeneds management into settings.gradle.kts and include acf lib
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
checkstyle
|
||||
id("com.github.johnrengelman.shadow") version "8.1.1"
|
||||
id("xyz.jpenilla.run-velocity") version "2.0.0"
|
||||
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":RedisBungee-API")) {
|
||||
@@ -24,10 +19,11 @@ dependencies {
|
||||
exclude("net.kyori", "adventure-text-serializer-legacy")
|
||||
exclude("net.kyori", "adventure-text-serializer-plain")
|
||||
exclude("net.kyori", "adventure-text-minimessage")
|
||||
|
||||
}
|
||||
compileOnly("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
|
||||
annotationProcessor("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
|
||||
compileOnly(libs.platform.velocity)
|
||||
annotationProcessor(libs.platform.velocity)
|
||||
implementation(libs.acf.velocity)
|
||||
|
||||
}
|
||||
|
||||
description = "RedisBungee Velocity implementation"
|
||||
@@ -36,10 +32,6 @@ java {
|
||||
withJavadocJar()
|
||||
withSourcesJar()
|
||||
}
|
||||
checkstyle {
|
||||
toolVersion = "10.12.3"
|
||||
}
|
||||
|
||||
|
||||
tasks {
|
||||
withType<Javadoc> {
|
||||
@@ -75,6 +67,8 @@ tasks {
|
||||
relocate("okio", "com.imaginarycode.minecraft.redisbungee.internal.okio")
|
||||
relocate("org.json", "com.imaginarycode.minecraft.redisbungee.internal.json")
|
||||
relocate("com.github.benmanes.caffeine", "com.imaginarycode.minecraft.redisbungee.internal.caffeine")
|
||||
// acf shade
|
||||
relocate("co.aikar.commands", "com.imaginarycode.minecraft.redisbungee.internal.acf.commands")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user