RoomPicker/server/build.gradle
ScarletRedMan bebba7f87d
All checks were successful
Build Project / build (push) Successful in 9m0s
fixed tests
2024-05-27 10:14:25 +07:00

51 lines
1.5 KiB
Groovy

plugins {
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.3'
id 'com.netflix.dgs.codegen' version '6.0.3'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
implementation 'org.springframework.boot:spring-boot-starter-graphql'
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.mockito:mockito-junit-jupiter:4.2.0'
testImplementation project(":client-api")
}
tasks.named('bootBuildImage') {
builder = 'paketobuildpacks/builder-jammy-base:latest'
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.named("bootJar") {
archiveFileName.set("server.jar")
}
generateJava {
schemaPaths = ["${projectDir}/src/main/resources/graphql-client"]
packageName = 'ru.dragonestia.picker.codegen'
generateClient = true
}