This commit is contained in:
kento2 2026-04-15 21:45:19 +02:00
parent 179f94085f
commit 3345595146
52 changed files with 95 additions and 905 deletions

View file

@ -1,3 +1,6 @@
val scrowToken = providers.gradleProperty("scrowMavenToken")
.orElse(providers.environmentVariable("SCROW_MAVEN_TOKEN")).get()
plugins {
id("java")
id("io.freefair.lombok") version "9.2.0" apply false
@ -19,6 +22,18 @@ subprojects {
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") {
name = "spigotmc-repo"
}
maven {
name = "scrow"
url = uri("http://forge.kentoj.de/api/packages/scrow/maven")
isAllowInsecureProtocol = true
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = "token $scrowToken"
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}
dependencies {
@ -26,7 +41,7 @@ subprojects {
implementation("org.jetbrains:annotations:26.0.2-1")
// https://projectreactor.io/docs/core/release/reference/gettingStarted.html
implementation(platform("io.projectreactor:reactor-bom:2025.0.3"))
implementation(platform("io.projectreactor:reactor-bom:2025.0.3"))
implementation("io.projectreactor:reactor-core")
// https://mvnrepository.com/artifact/com.google.guava/guava