mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-29 04:55:23 +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()) }
|
|
}
|