Explorar el Código

Use Java 17 toolchain for Kotlin

Issue gh-13811
Steve Riesenberg hace 1 año
padre
commit
f879cd6c41
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      build.gradle

+ 5 - 1
build.gradle

@@ -136,7 +136,11 @@ subprojects {
 			languageVersion = JavaLanguageVersion.of(toolchainVersion())
 		}
 	}
-
+	kotlin {
+		jvmToolchain {
+			languageVersion = JavaLanguageVersion.of(17)
+		}
+	}
 	tasks.withType(JavaCompile).configureEach {
 		options.encoding = "UTF-8"
 		options.compilerArgs.add("-parameters")