From 117d98da31328b606c90ee258a0c2959360a0dec Mon Sep 17 00:00:00 2001 From: Troy Rijkaard Date: Mon, 2 Oct 2023 22:14:44 +0100 Subject: [PATCH] chore: update the build.gradle java version to 17 (#1083) --- build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index f1580fc03..ba39cda69 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -32,13 +32,13 @@ subprojects { if (plugins.hasPlugin("android") || plugins.hasPlugin("android-library")) { configure { compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - } - configure { - jvmToolchain(JavaVersion.VERSION_11.majorVersion.toInt()) + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } } + configure { + jvmToolchain(17) + } } } }