-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.gradle
50 lines (42 loc) · 1.41 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
plugins {
id 'org.springframework.boot' version '3.4.2'
id 'io.spring.dependency-management' version '1.1.7'
id 'java'
}
// ext['graphql-java.version'] = '19.2'
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
}
dependencyManagement {
imports {
mavenBom("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:10.0.3")
}
}
dependencies {
implementation "com.netflix.graphql.dgs:dgs-starter"
implementation 'com.netflix.graphql.dgs:graphql-dgs-extended-scalars'
implementation 'org.apache.commons:commons-lang3:3.17.0'
// spring web
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'name.nkonev.multipart-spring-graphql:multipart-spring-graphql:1.5.3'
//configure Lombok for compile java/ compile tests
compileOnly 'org.projectlombok:lombok:1.18.36'
annotationProcessor 'org.projectlombok:lombok:1.18.36'
testCompileOnly 'org.projectlombok:lombok:1.18.36'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'com.netflix.graphql.dgs:dgs-starter-test'
}
test {
useJUnitPlatform()
}