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" }