From b01a899252b7b4337ba079b56e3cd3b581291b41 Mon Sep 17 00:00:00 2001 From: 7c00 Date: Wed, 17 Nov 2021 09:34:41 +0800 Subject: [PATCH] Fix build.gradle --- lib/android/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/android/build.gradle b/lib/android/build.gradle index 3f1cbcc8..12ee6aae 100644 --- a/lib/android/build.gradle +++ b/lib/android/build.gradle @@ -25,6 +25,15 @@ android { minSdkVersion getExt('minSdkVersion', 21) targetSdkVersion getExt('targetSdkVersion', 30) } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = '1.8' + } } dependencies {