added graphql dependency
This commit is contained in:
parent
313bdbf2fa
commit
daf770f5ee
@ -1,6 +1,7 @@
|
||||
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 {
|
||||
@ -11,13 +12,13 @@ configurations {
|
||||
|
||||
dependencies {
|
||||
implementation project(":client-api")
|
||||
implementation 'org.jetbrains:annotations:24.1.0'
|
||||
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'
|
||||
|
||||
@ -40,3 +41,9 @@ tasks.named('test') {
|
||||
tasks.named("bootJar") {
|
||||
archiveFileName.set("server.jar")
|
||||
}
|
||||
|
||||
generateJava {
|
||||
schemaPaths = ["${projectDir}/src/main/resources/graphql-client"]
|
||||
packageName = 'ru.dragonestia.picker.codegen'
|
||||
generateClient = true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user