fix gradle dependencies

This commit is contained in:
kento2 2026-02-14 12:51:06 +01:00
parent f0ea9603d5
commit af296638fd
7 changed files with 84 additions and 16 deletions

View file

@ -1,6 +1,6 @@
plugins {
id("java")
id("java-library")
id("io.freefair.lombok") version "9.2.0" apply false
}
group = "de.kentoj.scrow"
@ -10,22 +10,27 @@ repositories {
mavenCentral()
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
subprojects {
apply(plugin = "java")
apply(plugin = "io.freefair.lombok")
// https://mvnrepository.com/artifact/org.jetbrains/annotations
api("org.jetbrains:annotations:26.0.2-1")
repositories {
mavenCentral()
}
// https://projectreactor.io/docs/core/release/reference/gettingStarted.html
api(platform("io.projectreactor:reactor-bom:2025.0.3"))
api("io.projectreactor:reactor-core")
dependencies {
// https://mvnrepository.com/artifact/org.jetbrains/annotations
implementation("org.jetbrains:annotations:26.0.2-1")
// https://mvnrepository.com/artifact/com.google.guava/guava
api("com.google.guava:guava:33.5.0-jre")
}
// https://projectreactor.io/docs/core/release/reference/gettingStarted.html
implementation(platform("io.projectreactor:reactor-bom:2025.0.3"))
implementation("io.projectreactor:reactor-core")
tasks.test {
useJUnitPlatform()
// https://mvnrepository.com/artifact/com.google.guava/guava
implementation("com.google.guava:guava:33.5.0-jre")
// https://www.mongodb.com/docs/drivers/java/sync/current/get-started/
implementation(platform("org.mongodb:mongodb-driver-bom:5.6.3"))
implementation("org.mongodb:mongodb-driver-sync")
}
}