com.likethesalad.android.templates.provider.di.TemplatesProviderInjector.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of templates-provider-plugin Show documentation
Show all versions of templates-provider-plugin Show documentation
This is a Gradle plugin for Android applications which resolves XML string references in other XML strings.
The newest version!
package com.likethesalad.android.templates.provider.di
import com.likethesalad.android.templates.provider.TemplatesProviderPlugin
object TemplatesProviderInjector {
private lateinit var component: TemplatesProviderComponent
internal fun init(templatesProviderPlugin: TemplatesProviderPlugin) {
component = DaggerTemplatesProviderComponent.builder()
.templatesProviderModule(TemplatesProviderModule(templatesProviderPlugin))
.build()
}
fun getComponent(): TemplatesProviderComponent {
return component
}
}