From 5712c231202aae3a91eb09b8257633eee8bdb0d7 Mon Sep 17 00:00:00 2001 From: Michael Angelo Reyes Date: Sun, 7 Jan 2024 12:01:13 +0800 Subject: [PATCH] [20331] *Update compileOptions and kotlinOptions Java version to 17 and eliminate inconsistencies. *Upgrade android gradle plugin to 8.0.2 and gradle-wrapper.properties to 8.2. *Update gradle.properties with new configs required by the update. *Update build.gradle(s) to add namespace as required by latest android gradle and remove package names in AndroidManifest.xml. *Remove deprecated kotlin-android-extensions and add new kotlin-parcelize and remove androidExtensions experimental used for the old kotlin parcelize in kotlin-android-extensions. *Update gradle to replace classifier that was deprecated when gradle plugin is updated, with archiveClassifier. *Update kotlin from 1.6.20 to 1.8.20 and update codes affected or caused errors after the update *Update Room version and update affected classes caused by it --- .../tripkit/data/database/locations/carpods/CarPodEntity.kt | 2 +- dependencies.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TripKitData/src/main/java/com/skedgo/tripkit/data/database/locations/carpods/CarPodEntity.kt b/TripKitData/src/main/java/com/skedgo/tripkit/data/database/locations/carpods/CarPodEntity.kt index 01c4da4f..883b7705 100644 --- a/TripKitData/src/main/java/com/skedgo/tripkit/data/database/locations/carpods/CarPodEntity.kt +++ b/TripKitData/src/main/java/com/skedgo/tripkit/data/database/locations/carpods/CarPodEntity.kt @@ -1,7 +1,7 @@ package com.skedgo.tripkit.data.database.locations.carpods import androidx.room.* -import androidx.room.ForeignKey.CASCADE +import androidx.room.ForeignKey.Companion.CASCADE @Entity(tableName = "carPods") class CarPodEntity { diff --git a/dependencies.gradle b/dependencies.gradle index 4a68409b..bd1d1371 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -19,7 +19,7 @@ versions.androidGradlePlugin = "8.0.2" versions.okHttpVersion = "4.9.0" versions.retrofitVersion = "2.8.1" versions.androidxVersion = "1.1.0" -versions.room = "2.4.1" +versions.room = "2.5.1" versions.architectureComponents = "1.0.0" versions.testcore = "1.4.0" versions.dagger = "2.24"