mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-25 11:05:34 +00:00
16 lines
371 B
Kotlin
16 lines
371 B
Kotlin
package com.topjohnwu.magisk.di
|
|
|
|
import com.topjohnwu.magisk.data.database.*
|
|
import com.topjohnwu.magisk.tasks.UpdateRepos
|
|
import org.koin.dsl.module
|
|
|
|
|
|
val databaseModule = module {
|
|
single { LogDao() }
|
|
single { PolicyDao(get()) }
|
|
single { SettingsDao() }
|
|
single { StringDao() }
|
|
single { RepoDatabaseHelper(get()) }
|
|
single { UpdateRepos(get()) }
|
|
}
|