Files
recipe-api/build.gradle.kts

43 lines
1.4 KiB
Kotlin

plugins {
java
id("org.springframework.boot") version "3.5.4"
id("io.spring.dependency-management") version "1.1.7"
id("com.ryandens.javaagent-test") version "0.9.1"
id("io.freefair.lombok") version "8.14"
}
group = "eu.bitfield"
version = "0.1"
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-data-r2dbc")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.postgresql:r2dbc-postgresql")
implementation("io.projectreactor.addons:reactor-extra")
runtimeOnly("org.bouncycastle:bcpkix-jdk18on:1.81")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.springframework.security:spring-security-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testJavaagent("net.bytebuddy:byte-buddy-agent")
}
tasks.test {
useJUnitPlatform()
}