plugins {
    alias(libs.plugins.kotlin.ksp)
}

apply from: "${project.projectDir}/../div-library.gradle"
apply from: "${project.projectDir}/../div-tests.gradle"

android {
    namespace 'com.yandex.divkit.regression'

    sourceSets {
        main {
            assets.srcDirs += '../../test_data/regression_test_data'
        }
    }

    buildFeatures {
        buildConfig true
        viewBinding true
    }
}

dependencies {
    implementation project(path: ':assertion')
    implementation project(path: ':div')
    implementation project(path: ':div-data')
    implementation project(path: ':div-json')
    implementation project(path: ':fonts')
    implementation project(path: ':logging')
    implementation project(path: ':utils')


    api libs.yatagan.api.compiled
    ksp libs.yatagan.processor.ksp

    implementation libs.androidx.appcompat
    implementation libs.androidx.core
    implementation libs.androidx.coreKtx
    implementation libs.androidx.activity
    implementation libs.androidx.fragment
    implementation libs.androidx.recyclerview
    implementation libs.androidx.constraintlayout
    implementation libs.androidx.lifecycle.viewmodel
    implementation libs.androidx.lifecycle.common.java8
    implementation libs.androidx.material
    implementation libs.gson

    testImplementation libs.kotlin.corountines.test
}
