Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (46 loc) · 1.41 KB
/
Copy pathbuild.gradle
File metadata and controls
54 lines (46 loc) · 1.41 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
plugins {
id 'java'
id 'org.springframework.boot' version '4.0.2'
id 'io.spring.dependency-management' version '1.1.7'
id 'com.netflix.dgs.codegen' version '8.3.0'
}
group = 'org.jimmycodes'
version = '0.0.1-SNAPSHOT'
description = 'graph-equal-java'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(23)
}
}
repositories {
mavenCentral()
}
ext {
set('netflixDgsVersion', "11.0.0")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
implementation 'com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter'
implementation "org.jspecify:jspecify:1.0.0"
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
testImplementation 'com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
}
dependencyManagement {
imports {
mavenBom "com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:${netflixDgsVersion}"
}
}
generateJava {
schemaPaths = ["${projectDir}/src/main/resources/schema"]
packageName = 'org.jimmycodes.graphequaljava.codegen'
generateClient = true
trackInputFieldSet = true
generateJSpecifyAnnotations = true
javaGenerateAllConstructor = true
language = "JAVA"
}
tasks.named('test') {
useJUnitPlatform()
}