Files
edge-service/build.gradle
Peter Siegmund fe854136ae
Some checks failed
deploy to hetzner / deploy (push) Failing after 11m28s
latest dependencies
Signed-off-by: Peter Siegmund <developer@mars3142.org>
2024-12-12 00:35:52 +01:00

79 lines
2.7 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.6'
id 'idea'
}
group = 'dev.mars3142.fhq'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2024.0.0")
set('springModulithVersion', "1.2.1")
set('springCloudGCPVersion', "5.9.0")
}
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.47'
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.7.0'
implementation 'org.springdoc:springdoc-openapi-starter-webflux-api:2.7.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
}
}