-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (28 loc) · 1.07 KB
/
Copy pathbuild.gradle
File metadata and controls
36 lines (28 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
plugins {
id 'org.springframework.boot'
id 'io.spring.dependency-management'
id 'java'
id "com.netflix.dgs.codegen"
}
group 'com.webflux'
version '0.0.1-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_17
generateJava {
schemaPaths = ["${projectDir}/src/main/resources/schema"] // List of directories containing schema files
packageName = 'com.domain.graphqldgs' // The package name to use to generate sources
generateClient = true // Enable generating the type safe query API
}
repositories {
mavenCentral()
}
dependencies {
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:latest.release"))
implementation "com.netflix.graphql.dgs:graphql-dgs-webflux-starter"
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-security'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
tasks.named('test') {
useJUnitPlatform()
}