plugins { id 'java' id 'org.springframework.boot' version '3.4.0' id 'io.spring.dependency-management' version '1.1.6' id 'idea' id "io.sentry.jvm.gradle" version "4.11.0" } group = 'dev.mars3142.fhq' version = '0.0.1-SNAPSHOT' java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } ext { set('springCloudVersion', "2023.0.3") set('springModulithVersion', "1.2.1") set('springCloudGCPVersion', "5.4.1") } dependencies { implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.modulith:spring-modulith-starter-core' implementation 'org.springframework.cloud:spring-cloud-starter-gateway' implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-reactor-resilience4j' implementation 'com.google.cloud:spring-cloud-gcp-starter' implementation 'com.google.auth:google-auth-library-oauth2-http' implementation 'io.grpc:grpc-netty' implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap' implementation 'io.netty:netty-all' implementation 'com.nimbusds:nimbus-jose-jwt:9.41.2' implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client' implementation 'com.github.ben-manes.caffeine:caffeine:3.1.8' implementation 'org.springdoc:springdoc-openapi-starter-webflux-ui:2.6.0' implementation 'org.springdoc:springdoc-openapi-starter-webflux-api:2.6.0' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.cloud:spring-cloud-starter-config' testImplementation 'io.projectreactor:reactor-test' compileOnly 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'org.springframework.modulith:spring-modulith-actuator' runtimeOnly 'org.springframework.modulith:spring-modulith-observability' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.modulith:spring-modulith-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } dependencyManagement { imports { mavenBom "org.springframework.modulith:spring-modulith-bom:${springModulithVersion}" mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" mavenBom "com.google.cloud:spring-cloud-gcp-dependencies:${springCloudGCPVersion}" } } tasks.named('test') { useJUnitPlatform() } idea { module { downloadJavadoc = true downloadSources = true } }