Skip to content

Commit 98b70f6

Browse files
committed
Compile Kotlin types with 2.2.0 baseline
See gh-1267
1 parent f523673 commit 98b70f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/src/main/java/org/springframework/graphql/build/conventions/KotlinConventions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public void apply(Project project) {
3434

3535
private void configure(KotlinCompile compile) {
3636
compile.compilerOptions(options -> {
37-
options.getApiVersion().set(KotlinVersion.KOTLIN_2_1);
38-
options.getLanguageVersion().set(KotlinVersion.KOTLIN_2_1);
37+
options.getApiVersion().set(KotlinVersion.KOTLIN_2_2);
38+
options.getLanguageVersion().set(KotlinVersion.KOTLIN_2_2);
3939
options.getJvmTarget().set(JvmTarget.JVM_17);
4040
options.getJavaParameters().set(true);
4141
options.getAllWarningsAsErrors().set(true);

0 commit comments

Comments
 (0)