-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
34 lines (28 loc) · 1.01 KB
/
build.gradle
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
plugins {
id 'org.springframework.boot' version '2.5.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
// Using plugins DSL
id "com.netflix.dgs.codegen" version 'latest.release'
}
group = 'com.umesh'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:latest.release"))
implementation "com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter"
implementation "com.netflix.graphql.dgs:graphql-dgs-pagination"
}
test {
useJUnitPlatform()
}
generateJava{
schemaPaths = ["${projectDir}/src/main/resources/schema"] // List of directories containing schema files
packageName = 'com.umesh.pagination.generated' // The package name to use to generate sources
generateClient = true // Enable generating the type safe query API
}