First commit to Database!!!

This commit is contained in:
sockenklaus
2022-07-17 02:23:24 +02:00
parent f22aa22a3f
commit 089f09b1bd
13 changed files with 376 additions and 27 deletions

View File

@@ -1,6 +1,9 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'org.jetbrains.kotlin.kapt'
}
android {
@@ -17,6 +20,16 @@ android {
vectorDrawables {
useSupportLibrary true
}
javaCompileOptions {
annotationProcessorOptions {
arguments += [
"room.schemaLocation":"$projectDir/schemas".toString(),
"room.incremental":"true",
"room.expandProjection":"true"]
}
}
}
buildTypes {
@@ -48,15 +61,17 @@ android {
}
dependencies {
implementation 'androidx.room:room-runtime:2.5.0-alpha02'
implementation 'androidx.room:room-runtime:2.4.2'
implementation "androidx.compose.ui:ui:1.3.0-alpha01"
implementation "androidx.compose.ui:ui-tooling-preview:1.3.0-alpha01"
implementation 'androidx.compose.material:material-icons-extended:1.3.0-alpha01'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0'
annotationProcessor 'androidx.room:room-compiler:2.5.0-alpha02'
kapt 'androidx.room:room-compiler:2.4.2'
implementation 'androidx.room:room-rxjava3:2.4.2'
implementation "androidx.room:room-paging:2.4.2"
implementation "androidx.room:room-ktx:2.4.2"
implementation 'androidx.room:room-rxjava3:2.5.0-alpha02'
implementation "androidx.room:room-paging:2.5.0-alpha02"
implementation 'com.google.android.material:material:1.7.0-alpha02'