mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 04:27:02 +05:30
Add room dependencies and sort
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
e256d988fc
commit
0b5d7a1624
2 changed files with 15 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
}
|
||||
|
||||
android {
|
||||
|
@ -14,6 +15,15 @@ android {
|
|||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments = [
|
||||
"room.incremental" : "true",
|
||||
"room.expandProjection": "true"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
|
@ -45,9 +55,9 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|||
|
||||
dependencies {
|
||||
|
||||
kapt "androidx.room:room-compiler:$room_version"
|
||||
implementation 'androidx.core:core-ktx:1.5.0-alpha02'
|
||||
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
|
||||
implementation 'com.google.android.material:material:1.3.0-alpha02'
|
||||
implementation "androidx.compose.foundation:foundation:$compose_version"
|
||||
implementation "androidx.compose.foundation:foundation-layout:$compose_version"
|
||||
implementation "androidx.compose.foundation:foundation-text:$compose_version"
|
||||
|
@ -58,7 +68,10 @@ dependencies {
|
|||
implementation "androidx.compose.ui:ui-text:$compose_version"
|
||||
implementation "androidx.compose.ui:ui-text-android:$compose_version"
|
||||
implementation "androidx.compose.ui:ui-unit:$compose_version"
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
implementation "androidx.room:room-ktx:$room_version"
|
||||
implementation "androidx.ui:ui-tooling:$compose_version"
|
||||
implementation 'com.google.android.material:material:1.3.0-alpha02'
|
||||
testImplementation 'junit:junit:4.13'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2-rc03'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-rc03'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue