51 lines
1.4 KiB
Groovy
51 lines
1.4 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-jpa")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-data-redis-reactive")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
|
|
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()
|
|
}
|