From 44f0bf7d344cda8b11e19e8ad7e92c412802c8ae Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 11 Apr 2023 02:16:59 +0200 Subject: [PATCH] Implemented desugaring to be able to compile KorIM for Android --- EpcQrCodeAndroidApp/build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/EpcQrCodeAndroidApp/build.gradle.kts b/EpcQrCodeAndroidApp/build.gradle.kts index d9fb213..63ae66b 100644 --- a/EpcQrCodeAndroidApp/build.gradle.kts +++ b/EpcQrCodeAndroidApp/build.gradle.kts @@ -34,6 +34,14 @@ android { } } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = "1.8" + } + lintOptions { isCheckReleaseBuilds = false //If you want to continue even if errors found use following line