import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

configureAndroidLibrary(project)

android {
    namespace 'com.badoo.ribs.samples.communication.coordinate_multiple_example'

    compileSdk 34

    defaultConfig {
        versionCode 1
        versionName "1.0"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

    buildFeatures {
        compose = true
    }

    composeOptions {
        kotlinCompilerExtensionVersion = deps.versions.composeCompiler
    }
}

dependencies {
    implementation deps.external.kotlinStdlib

    implementation deps.android.appCompat
    implementation deps.android.constraintLayout
    implementation deps.android.design

    implementation platform(deps.compose.bom)
    implementation "androidx.compose.runtime:runtime"
    implementation "androidx.compose.ui:ui"
    implementation "androidx.compose.material:material"
    implementation "androidx.compose.ui:ui-tooling"
    debugImplementation "androidx.compose.ui:ui-tooling-preview"
    implementation "androidx.compose.foundation:foundation"

    implementation project(":libraries:rib-base")
    implementation project(":libraries:rib-compose")
    implementation project(':samples:resources')

    testImplementation 'junit:junit:4.13'

    debugImplementation project(":libraries:rib-base-test-activity")
    androidTestImplementation project(":libraries:rib-base-test")
    androidTestImplementation 'androidx.test:runner:1.4.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
    androidTestImplementation deps.test.mockitoKotlin
}
