mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 00:48:40 +00:00
Continue dagger setup...
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/build
|
||||
@@ -0,0 +1,7 @@
|
||||
plugins {
|
||||
alias(libs.plugins.kotlin.jvm)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.inject)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package io.element.android.x.di
|
||||
|
||||
abstract class AppScope private constructor()
|
||||
@@ -0,0 +1,5 @@
|
||||
package io.element.android.x.di
|
||||
|
||||
import javax.inject.Qualifier
|
||||
|
||||
@Qualifier annotation class ApplicationContext
|
||||
@@ -0,0 +1,3 @@
|
||||
package io.element.android.x.di
|
||||
|
||||
abstract class SessionScope private constructor()
|
||||
@@ -0,0 +1,8 @@
|
||||
package io.element.android.x.di
|
||||
|
||||
import javax.inject.Scope
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
@Scope
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class SingleIn(val clazz: KClass<*>)
|
||||
Reference in New Issue
Block a user