apply plugin: 'com.android.library'

android {
    compileSdkVersion rootProject.ext.compileSdkVersion
    buildToolsVersion rootProject.ext.buildToolsVersion

    defaultConfig {
        minSdkVersion rootProject.ext.minSdkVersion

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

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

    sourceSets { main { res.srcDirs = ['src/main/res', 'src/androidTest/res'] } }


    lintOptions {
        abortOnError false
    }
}

dependencies {
    compile project(':scoops-core')
    compile deps.supportAppCompat
    compile deps.supportRecyclerView

    testCompile deps.junit
    testCompile deps.truth
    testCompile deps.robolectric
    testCompile deps.mockito

    androidTestCompile deps.espresso
    androidTestCompile deps.runner
    androidTestCompile deps.supportAnnotations
    androidTestCompile deps.espressoContrib
}

apply from: rootProject.file('gradle/gradle-mvn-push.gradle')