11plugins {
2- id ' org.springframework.boot' version ' 2.6.3 '
3- id ' io.spring.dependency-management' version ' 1.0.11.RELEASE '
2+ id ' org.springframework.boot' version ' 3.2.5 '
3+ id ' io.spring.dependency-management' version ' 1.1.4 '
44 id ' java'
5- id " com.netflix.dgs.codegen" version " 5 .0.6 "
6- id " com.diffplug.spotless" version " 6.2.1 "
5+ id " com.netflix.dgs.codegen" version " 6 .0.3 "
6+ id " com.diffplug.spotless" version " 6.25.0 "
77}
88
99version = ' 0.0.1-SNAPSHOT'
10- sourceCompatibility = ' 11 '
11- targetCompatibility = ' 11 '
10+ sourceCompatibility = ' 17 '
11+ targetCompatibility = ' 17 '
1212
1313spotless {
1414 java {
1515 target project. fileTree(project. rootDir) {
1616 include ' **/*.java'
17- exclude ' build/generated/**/*.* ' , ' build/generated-examples/**/*. *'
17+ exclude ' build/** ' , ' frontend/* *'
1818 }
1919 googleJavaFormat()
2020 }
@@ -35,25 +35,25 @@ dependencies {
3535 implementation ' org.springframework.boot:spring-boot-starter-validation'
3636 implementation ' org.springframework.boot:spring-boot-starter-hateoas'
3737 implementation ' org.springframework.boot:spring-boot-starter-security'
38- implementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2 '
39- implementation ' com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter:4.9.21 '
38+ implementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3 '
39+ implementation ' com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter:8.5.8 '
4040 implementation ' org.flywaydb:flyway-core'
41- implementation ' io.jsonwebtoken:jjwt-api:0.11.2 '
42- runtimeOnly ' io.jsonwebtoken:jjwt-impl:0.11.2 ' ,
43- ' io.jsonwebtoken:jjwt-jackson:0.11.2 '
44- implementation ' joda-time:joda-time:2.10.13 '
45- implementation ' org.xerial:sqlite-jdbc:3.36.0.3 '
41+ implementation ' io.jsonwebtoken:jjwt-api:0.11.5 '
42+ runtimeOnly ' io.jsonwebtoken:jjwt-impl:0.11.5 ' ,
43+ ' io.jsonwebtoken:jjwt-jackson:0.11.5 '
44+ implementation ' joda-time:joda-time:2.12.7 '
45+ implementation ' org.xerial:sqlite-jdbc:3.45.3.0 '
4646
4747 compileOnly ' org.projectlombok:lombok'
4848 annotationProcessor ' org.projectlombok:lombok'
4949
50- testImplementation ' io.rest-assured:rest-assured:4.5.1 '
51- testImplementation ' io.rest-assured:json-path:4.5.1 '
52- testImplementation ' io.rest-assured:xml-path:4.5.1 '
53- testImplementation ' io.rest-assured:spring-mock-mvc:4.5.1 '
50+ testImplementation ' io.rest-assured:rest-assured:5.4.0 '
51+ testImplementation ' io.rest-assured:json-path:5.4.0 '
52+ testImplementation ' io.rest-assured:xml-path:5.4.0 '
53+ testImplementation ' io.rest-assured:spring-mock-mvc:5.4.0 '
5454 testImplementation ' org.springframework.security:spring-security-test'
5555 testImplementation ' org.springframework.boot:spring-boot-starter-test'
56- testImplementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter-test:2.2.2 '
56+ testImplementation ' org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.3 '
5757}
5858
5959tasks. named(' test' ) {
@@ -69,4 +69,5 @@ tasks.named('clean') {
6969tasks. named(' generateJava' ) {
7070 schemaPaths = [" ${ projectDir} /src/main/resources/schema" ] // List of directories containing schema files
7171 packageName = ' io.spring.graphql' // The package name to use to generate sources
72+ typeMapping = [" PageInfo" : " graphql.relay.PageInfo" ]
7273}
0 commit comments