all: move model classes to database, rename model to api

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-12-17 12:30:03 +05:30
parent 62d7590501
commit b18de72bdd
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
20 changed files with 46 additions and 34 deletions

18
api/build.gradle.kts Normal file
View file

@ -0,0 +1,18 @@
plugins {
id("com.android.library")
kotlin("android")
kotlin("kapt")
`lobsters-plugin`
}
dependencies {
kapt(Dependencies.AndroidX.Hilt.daggerCompiler)
kapt(Dependencies.ThirdParty.Moshi.codegen)
api(Dependencies.ThirdParty.Retrofit.lib)
implementation(project(":database"))
implementation(Dependencies.AndroidX.Hilt.dagger)
implementation(Dependencies.ThirdParty.Retrofit.moshi)
testImplementation(Dependencies.Kotlin.Coroutines.core)
testImplementation(Dependencies.Testing.junit)
testImplementation(Dependencies.Testing.mockWebServer)
}