initial commit

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-08-18 00:16:34 +02:00
commit 52c64f5d5d
17 changed files with 672 additions and 0 deletions

69
build.gradle Normal file
View File

@@ -0,0 +1,69 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.2'
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', "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'
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
}
}