plugins { id 'java' id 'org.springframework.boot' version '3.5.6' 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(17) } } repositories { mavenCentral() } dependencies { implementation("org.springframework.boot:spring-boot-starter-webflux") 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("io.lettuce:lettuce-core:6.2.2.RELEASE") // Choose ONE driver depending on your DB: runtimeOnly("io.r2dbc:r2dbc-h2") // for in-memory implementation("io.github.resilience4j:resilience4j-ratelimiter:2.0.2") implementation("io.github.resilience4j:resilience4j-circuitbreaker:2.0.2") implementation("io.github.resilience4j:resilience4j-retry:2.0.2") implementation("org.springframework.boot:spring-boot-starter") implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.6.0") implementation 'io.github.resilience4j:resilience4j-spring-boot2:1.7.1' implementation 'io.github.resilience4j:resilience4j-reactor:1.7.1' implementation 'org.projectlombok:lombok:1.18.32' // Use the latest stable version annotationProcessor 'org.projectlombok:lombok:1.18.32' // For annotation processing testImplementation("org.springframework.boot:spring-boot-starter-test") } tasks.named('test') { useJUnitPlatform() }