WebInterface/build.gradle.kts
akastijn d4359bf480 Add notification server and file download service implementation
- Introduce `NotificationServer` for handling HTTP notifications.
- Register `ProxyShutdownEvent` to stop the notification server on shutdown.
- Add `FileDownloadService` for asynchronous file downloads using the configured endpoint.
- Update `Config` to include `download-endpoint`.
- Add Javalin and SLF4J dependencies for the HTTP server.
2025-06-23 23:06:47 +02:00

28 lines
789 B
Plaintext

plugins {
id("java")
}
group = "com.alttd.webinterface"
version = "1.0-SNAPSHOT"
description = "WebInterface"
repositories {
mavenCentral()
maven("https://nexus.velocitypowered.com/repository/maven-public/")
maven("https://jitpack.io") //Litebans
}
dependencies {
compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT") // Velocity
annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
compileOnly("com.gitlab.ruany:LiteBansAPI:0.6.1")
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")
implementation("io.javalin:javalin:6.6.0") // Javalin for HTTP server
implementation("org.slf4j:slf4j-api:2.0.9") // Required by Javalin
}
tasks.test {
useJUnitPlatform()
}