add room dependency
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
apply plugin: "com.android.application"
|
apply plugin: "com.android.application"
|
||||||
apply plugin: "kotlin-android"
|
apply plugin: "kotlin-android"
|
||||||
apply plugin: "kotlin-kapt"
|
|
||||||
apply plugin: "kotlin-parcelize"
|
apply plugin: "kotlin-parcelize"
|
||||||
apply plugin: "kotlinx-serialization"
|
apply plugin: "kotlinx-serialization"
|
||||||
apply plugin: "com.google.android.gms.oss-licenses-plugin"
|
apply plugin: "com.google.android.gms.oss-licenses-plugin"
|
||||||
|
apply plugin: "com.google.devtools.ksp"
|
||||||
|
|
||||||
|
|
||||||
if (file("google-services.json").exists()) {
|
if (file("google-services.json").exists()) {
|
||||||
logger.lifecycle("Firebase Enabled")
|
logger.lifecycle("Firebase Enabled")
|
||||||
@@ -96,7 +97,13 @@ dependencies {
|
|||||||
implementation "com.google.accompanist:accompanist-adaptive:0.34.0"
|
implementation "com.google.accompanist:accompanist-adaptive:0.34.0"
|
||||||
implementation "androidx.navigation:navigation-compose:2.7.7"
|
implementation "androidx.navigation:navigation-compose:2.7.7"
|
||||||
|
|
||||||
kapt 'androidx.lifecycle:lifecycle-compiler:2.7.0'
|
ksp 'androidx.lifecycle:lifecycle-compiler:2.7.0'
|
||||||
|
|
||||||
|
def room_version = "2.6.1"
|
||||||
|
|
||||||
|
implementation "androidx.room:room-runtime:$room_version"
|
||||||
|
annotationProcessor "androidx.room:room-compiler:$room_version"
|
||||||
|
ksp "androidx.room:room-compiler:$room_version"
|
||||||
|
|
||||||
implementation "androidx.paging:paging-compose:3.2.1"
|
implementation "androidx.paging:paging-compose:3.2.1"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
@@ -19,6 +18,10 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id 'com.google.devtools.ksp' version '1.9.22-1.0.17' apply false
|
||||||
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
|
|||||||
Reference in New Issue
Block a user