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) + } } } }