apply from: "$rootDir/buildsystem/dependencies.gradle"
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
    compileSdkVersion 28

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 28
        versionCode 1
        versionName '1.0.0'
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
        main.res.srcDirs += 'src/main/res'

        androidTest.java.srcDirs += 'src/androidTest/kotlin'
    }
}

repositories {
    jcenter()
    google()
}

dependencies {
    implementation libraries.kotlin_stdlib
    implementation libraries.appcompat
    implementation libraries.recyclerview
    implementation libraries.design
    implementation libraries.viewpager2

    testImplementation libraries.junit

    androidTestImplementation project(':kakao')
    androidTestImplementation libraries.annotation
    androidTestImplementation libraries.espresso_runner
    androidTestImplementation libraries.espresso_rules
    androidTestImplementation libraries.espresso_intents
    androidTestImplementation libraries.espresso_core
    androidTestImplementation libraries.espresso_web
    androidTestImplementation libraries.junit_ext
}
