apply plugin: "com.android.application"
apply plugin: "kotlin-android"
apply plugin: "kotlin-kapt"

android {
    defaultConfig {
        applicationId "com.airbnb.sample"
        multiDexEnabled true
        versionCode 1
        versionName "0.0.1"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-project.pro"
        }
    }

    viewBinding {
        enabled = true
    }
    namespace 'com.airbnb.mvrx.sample'
}


dependencies {
    kapt libs.epoxyProcessor
    kapt libs.moshiCodegen

    implementation project(":mvrx")
    implementation project(':mvrx-mocking')
    // In real apps this should be debugImplementation so that the launcher isn't included in production!
    implementation project(':mvrx-launcher')
    implementation project(':utils-view-binding')

    implementation libs.appcompat
    implementation libs.constraintlayout
    implementation(libs.epoxy) { exclude group: "com.android.support" }
    implementation libs.koin
    implementation libs.lifecycleCommon
    implementation libs.moshi
    implementation libs.moshiKotlin
    implementation libs.multidex
    implementation libs.navigationFragmentKtx
    implementation libs.navigationUiKtx
    implementation libs.recyclerview
    implementation libs.retrofit
    implementation libs.retrofitMoshi
    implementation libs.retrofitRxJava
    implementation libs.rxAndroid
    implementation libs.rxJava

    testImplementation libs.junit
}
