isaakhanimann / psychonautwiki-journal-android

GNU General Public License v3.0
64 stars 12 forks source link

Gradle build error #42

Closed jaromeyer closed 7 months ago

jaromeyer commented 7 months ago

Edit 2: I'm stupid and can't use git properly... Edit: nvm still broken After the latest few commits the project wouldn't build until I updated some gradle settings but maybe thats just an issue with my setup (I'm not too familiar with gradle):

diff --git a/app/build.gradle b/app/build.gradle
index 4802a36d..40e731df 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -36,8 +36,8 @@ android {
         }
     }
     compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_8
-        targetCompatibility JavaVersion.VERSION_1_8
+        sourceCompatibility JavaVersion.VERSION_17
+        targetCompatibility JavaVersion.VERSION_17
     }
     kotlinOptions {
         jvmTarget = '17'