Files
Webflux-Payments/build.gradle
2026-07-02 16:45:48 +03:00

53 lines
1.5 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '4.1.0'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.test'
version = '0.0.1-SNAPSHOT'
description = 'Demo project for Spring Boot'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-webclient")
implementation("org.springframework.boot:spring-boot-starter-data-r2dbc")/*
implementation("io.r2dbc:r2dbc-postgresql")*/
implementation("org.springframework.boot:spring-boot-starter-data-redis-reactive")
implementation("org.springframework.boot:spring-boot-starter-validation")
// Choose ONE driver depending on your DB:
runtimeOnly("io.r2dbc:r2dbc-h2") // for in-memory
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.aspectj:aspectjweaver")
implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:3.0.3")
implementation 'io.github.resilience4j:resilience4j-spring-boot4:2.4.0'
implementation 'io.github.resilience4j:resilience4j-reactor:2.4.0'
implementation 'org.projectlombok:lombok:1.18.46' // Use the latest stable version
annotationProcessor 'org.projectlombok:lombok:1.18.46' // For annotation processing
testImplementation("org.springframework.boot:spring-boot-starter-test")
}
tasks.named('test') {
useJUnitPlatform()
}