mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 17:37:05 +05:30
refactor(di): move database injection to its module
This commit is contained in:
parent
ce37903ea0
commit
56d47d1f32
3 changed files with 37 additions and 26 deletions
|
@ -11,8 +11,11 @@ plugins {
|
|||
alias(libs.plugins.sqldelight)
|
||||
id("dev.msfjarvis.claw.kotlin-common")
|
||||
id("dev.msfjarvis.claw.android-library")
|
||||
alias(libs.plugins.anvil)
|
||||
}
|
||||
|
||||
anvil { generateDaggerFactories.set(true) }
|
||||
|
||||
android { namespace = "dev.msfjarvis.claw.database" }
|
||||
|
||||
sqldelight {
|
||||
|
@ -25,6 +28,9 @@ sqldelight {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.dagger)
|
||||
implementation(projects.core)
|
||||
implementation(projects.diScopes)
|
||||
implementation(libs.sqldelight.androidDriver)
|
||||
implementation(libs.sqldelight.primitiveAdapters)
|
||||
testImplementation(libs.sqldelight.jvmDriver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue