File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ configure(moduleProjects) {
33
33
apply plugin : ' org.springframework.graphql.compiler'
34
34
35
35
java {
36
- sourceCompatibility = JavaVersion . VERSION_1_8
37
- targetCompatibility = JavaVersion . VERSION_1_8
36
+ toolchain {
37
+ languageVersion = JavaLanguageVersion . of(8 )
38
+ }
38
39
}
39
40
40
41
pluginManager. withPlugin(" kotlin" ) {
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ repositories {
9
9
maven { url " https://repo.spring.io/release" }
10
10
}
11
11
12
- sourceCompatibility = 1.8
13
- targetCompatibility = 1.8
14
-
15
12
dependencies {
16
13
checkstyle " io.spring.javaformat:spring-javaformat-checkstyle:${ javaFormatVersion} "
17
14
implementation(" io.spring.javaformat:spring-javaformat-gradle-plugin:${ javaFormatVersion} " )
You can’t perform that action at this time.
0 commit comments