Multi-layer DDoS protection for Minecraft servers. - rampart-core: Edge node with XDP/eBPF + Rust L7 filtering - rampart-manager: REST API with JWT auth, Redis sync - rampart-cli: CLI tool for operators - velocity-plugin: Domain check, HMAC verify, server registry, load balancer - paper-plugin: Auto-registration, heartbeat, HMAC verify - dashboard: React + Vite web UI for management
37 lines
904 B
Kotlin
37 lines
904 B
Kotlin
plugins {
|
|
id("java")
|
|
id("com.gradleup.shadow") version "9.0.0-beta2"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://papermc.io/repo/repository/maven-public/")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
|
|
|
|
implementation("redis.clients:jedis:5.2.0")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
|
|
testImplementation("org.slf4j:slf4j-api:2.0.16")
|
|
testRuntimeOnly("org.slf4j:slf4j-simple:2.0.16")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks {
|
|
shadowJar {
|
|
archiveBaseName.set("rampart-velocity")
|
|
archiveClassifier.set("")
|
|
archiveVersion.set(project.property("version").toString())
|
|
}
|
|
|
|
build {
|
|
dependsOn(shadowJar)
|
|
}
|
|
}
|