apply plugin: 'com.android.library'
apply from: '../build-config/gradle-quality.gradle'

dependencies {
    compile "com.android.support:support-v4:$rootProject.ext.supportLibVersion"

    compile 'com.evernote:evernote-api:1.25.1'
    compile 'org.scribe:scribe:1.3.7'
    
    compile 'net.vrallev.android:android-task:1.0.7'
    compile 'com.squareup.okhttp:okhttp:2.4.0'

    testCompile 'junit:junit:4.12'
    testCompile 'org.assertj:assertj-core:1.7.1'
}

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

    resourcePrefix 'esdk_'

    defaultConfig {
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionName project.VERSION_NAME
        versionCode Integer.parseInt(project.VERSION_CODE)
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }

    lintOptions {
        abortOnError true

        htmlOutput file("$project.buildDir/reports/lint/lint.html")
        xmlOutput file("$project.buildDir/reports/lint/lint.xml")
    }
}

apply from: '../build-config/gradle-push.gradle'