data: move into app module

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-11-02 01:40:42 +05:30
parent 713706caff
commit c3cead5993
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
12 changed files with 4 additions and 18 deletions

1
.idea/gradle.xml generated
View file

@ -12,7 +12,6 @@
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/data" />
<option value="$PROJECT_DIR$/lobsters-api" />
<option value="$PROJECT_DIR$/model" />
</set>

View file

@ -62,7 +62,7 @@ dependencies {
kapt "com.google.dagger:hilt-compiler:$hilt_dagger_version"
kapt "androidx.hilt:hilt-compiler:$hilt_androidx_version"
implementation(project(":data"))
kapt "androidx.room:room-compiler:$room_version"
implementation(project(":lobsters-api"))
implementation(project(":model"))
implementation "androidx.core:core-ktx:$core_version"
@ -83,9 +83,12 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.navigation:navigation-compose:$nav_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:$material_version"
implementation "com.google.dagger:hilt-android:$hilt_dagger_version"
implementation "com.squareup.moshi:moshi:$moshi_version"
implementation "dev.chrisbanes.accompanist:accompanist-coil:$accompanist_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
implementation "saschpe.android:customtabs:$customtabs_version"

1
data/.gitignore vendored
View file

@ -1 +0,0 @@
/build

View file

@ -1,12 +0,0 @@
plugins {
id 'kotlin-kapt'
}
dependencies {
implementation project(":model")
kapt "androidx.room:room-compiler:$room_version"
api "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-ktx:$room_version"
implementation "com.squareup.moshi:moshi:$moshi_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
}

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="dev.msfjarvis.todo.data" />

View file

@ -1,5 +1,4 @@
rootProject.name = "lobste.rs"
include ':app'
include ':data'
include ':lobsters-api'
include ':model'