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 {