Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix android compilation on java 17

Ammar Ahmed552d86d9d271
diff --git a/apps/mobile/native/android/build.gradle b/apps/mobile/native/android/build.gradle
index 3bb434b67..06fb886b9 100644
--- a/apps/mobile/native/android/build.gradle
+++ b/apps/mobile/native/android/build.gradle
@@ -37,4 +37,10 @@ allprojects {
maven { url 'https://www.jitpack.io' }
}
-}
\ No newline at end of file
+
+ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
+ kotlinOptions {
+ jvmTarget = "11"
+ }
+ }
+}