From 7f63d30274f2431982e3888aa64f7a4ee482a052 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 15 Jun 2022 16:14:59 +0600 Subject: [PATCH] Update build.gradle --- build.gradle | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 140ae9f..ed4464b 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,13 @@ repositories { } kotlin { - jvm() + jvm { + compilations.main { + kotlinOptions { + jvmTarget = "1.8" + } + } + } js(IR) { browser() nodejs() @@ -52,9 +58,8 @@ kotlin { } java { - toolchain { - languageVersion = JavaLanguageVersion.of(8) - } + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } apply from: "defaultAndroidSettings.gradle"