import dependencies.Dep

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'

apply from: rootProject.file('gradle/android.gradle')
android.libraryVariants.all {
    // TODO replace with https://issuetracker.google.com/issues/72050365 once released.
    it.generateBuildConfig.enabled = true
}

dependencies {
    implementation project(':data:device')
    implementation project(':ext:log')
    implementation project(':corecomponent:androidcomponent')

    implementation Dep.Kotlin.stdlibJvm
    api Dep.Kotlin.coroutines
    implementation Dep.Kotlin.androidCoroutinesDispatcher
    implementation Dep.AndroidX.appCompat
    implementation Dep.AndroidX.browser

    implementation Dep.Ktor.clientAndroid

    implementation Dep.Firebase.fireStore

    implementation Dep.Dagger.core
    implementation Dep.Dagger.androidSupport
    kapt Dep.Dagger.compiler
    kapt Dep.Dagger.androidProcessor

    implementation Dep.Timber.android

    testImplementation Dep.Test.junit
    androidTestImplementation Dep.Test.testRunner
    testImplementation Dep.Test.slf4j
}

