plugins {
    alias(deps.plugins.android.library)
    alias(deps.plugins.kotlin.android)
    alias(deps.plugins.kotlin.serialization)
    alias(deps.plugins.kotlin.kapt)
    alias(deps.plugins.hilt.android)
    id("configuration")
}

android {
    namespace = "com.tangem.features.promobanners.impl"
}

dependencies {
    /** Project - API */
    api(projects.features.promoBanners.api)
    implementation(projects.features.commonFeatures.api)
    implementation(projects.common.routing)
    implementation(projects.common.ui)

    /** Domain */
    api(projects.domain.common)
    implementation(projects.domain.models)
    implementation(projects.domain.appCurrency)
    implementation(projects.domain.account.status)
    implementation(projects.domain.promo)
    implementation(projects.domain.promo.models)

    /** Data */
    implementation(projects.data.common)

    /** Core */
    api(projects.core.configToggles)
    api(projects.core.analytics)
    api(projects.core.datasource)
    api(projects.core.decompose)
    api(projects.core.navigation)
    api(projects.core.utils)
    implementation(projects.core.analytics.models)
    implementation(projects.core.ui)

    /** Compose */
    api(deps.compose.foundation)
    implementation(deps.compose.ui)
    implementation(deps.compose.ui.tooling)
    implementation(deps.lifecycle.compose)

    /** Other */
    implementation(deps.androidx.appCompat)
    implementation(deps.androidx.core.ktx)
    implementation(deps.decompose)
    implementation(deps.decompose.ext.compose)
    implementation(deps.kotlin.coroutines)
    implementation(deps.kotlin.immutable.collections)

    /** DI */
    implementation(deps.hilt.android)
    kapt(deps.hilt.kapt)

    /** Tests */
    testImplementation(projects.test.core)
    testImplementation(projects.common.test)
}