Browse Source

lock in on java17

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 years ago
parent
commit
c8f67462ec
2 changed files with 7 additions and 0 deletions
  1. 5 0
      app/build.gradle
  2. 2 0
      appscan/build.gradle

+ 5 - 0
app/build.gradle

@@ -210,6 +210,11 @@ android {
         aidl true
     }
 
+    compileOptions {
+        sourceCompatibility JavaVersion.VERSION_17
+        targetCompatibility JavaVersion.VERSION_17
+    }
+
     kotlinOptions {
         jvmTarget = "17"
     }

+ 2 - 0
appscan/build.gradle

@@ -24,10 +24,12 @@ android {
             minifyEnabled false
         }
     }
+
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_17
         targetCompatibility JavaVersion.VERSION_17
     }
+
     kotlinOptions {
         jvmTarget = '17'
     }