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) {
3333 apply plugin : ' org.springframework.graphql.compiler'
3434
3535 java {
36- sourceCompatibility = JavaVersion . VERSION_1_8
37- targetCompatibility = JavaVersion . VERSION_1_8
36+ toolchain {
37+ languageVersion = JavaLanguageVersion . of(8 )
38+ }
3839 }
3940
4041 pluginManager. withPlugin(" kotlin" ) {
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ repositories {
99 maven { url " https://repo.spring.io/release" }
1010}
1111
12- sourceCompatibility = 1.8
13- targetCompatibility = 1.8
14-
1512dependencies {
1613 checkstyle " io.spring.javaformat:spring-javaformat-checkstyle:${ javaFormatVersion} "
1714 implementation(" io.spring.javaformat:spring-javaformat-gradle-plugin:${ javaFormatVersion} " )
You can’t perform that action at this time.
0 commit comments