From 62f5d8258fbde73fdf9a0dac729de532dc646e4a Mon Sep 17 00:00:00 2001 From: Blatzar <46196380+Blatzar@users.noreply.github.com> Date: Wed, 10 Aug 2022 23:54:29 +0200 Subject: [PATCH] Switch to VERSION_1_8 to make it compile with sdk 21 --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 7f82911..7d6e19e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -50,13 +50,13 @@ subprojects { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } tasks.withType { kotlinOptions { - jvmTarget = "11" // Required + jvmTarget = "1.8" // Required // Disables some unnecessary features freeCompilerArgs = freeCompilerArgs + "-Xno-call-assertions" +