51 lines
1.5 KiB
Groovy
51 lines
1.5 KiB
Groovy
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-jpa")
|
|
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")
|
|
|
|
implementation 'com.h2database:h2'
|
|
|
|
implementation("io.github.resilience4j:resilience4j-reactor:2.0.2")
|
|
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("io.github.resilience4j:resilience4j-spring-boot3:2.0.2")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter")
|
|
|
|
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()
|
|
}
|