From 620c2962c93604321fe28040e3a5e74c7c35cbb2 Mon Sep 17 00:00:00 2001 From: Amr Hossam Date: Mon, 19 Aug 2024 23:47:16 +0300 Subject: [PATCH] JVM compatible with kotlin version Signed-off-by: Amr Hossam --- build.gradle | 2 +- onebusaway-android/build.gradle | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index c2ba9e718..beb1478a4 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.7.10' + ext.kotlin_version = '1.9.21' repositories { google() mavenCentral() diff --git a/onebusaway-android/build.gradle b/onebusaway-android/build.gradle index 012c94b81..f62135f41 100644 --- a/onebusaway-android/build.gradle +++ b/onebusaway-android/build.gradle @@ -275,8 +275,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility = 17 + targetCompatibility = 17 } testOptions { @@ -369,9 +369,9 @@ dependencies { implementation "androidx.core:core-ktx:1.7.0" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // RoomDB - implementation "androidx.room:room-runtime:2.5.0" - kapt "androidx.room:room-compiler:2.5.0" - implementation "androidx.room:room-ktx:2.5.0" + implementation "androidx.room:room-runtime:2.6.1" + kapt "androidx.room:room-compiler:2.6.1" + implementation "androidx.room:room-ktx:2.6.1" }