apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion '28.0.2'
    defaultConfig {
        applicationId "com.android.adobot"
        minSdkVersion 21
        targetSdkVersion 26
        versionCode 2
        versionName "2.3"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'io.socket:socket.io-client:1.0.0'
    implementation 'io.nlopez.smartlocation:library:3.2.11'
    implementation 'pub.devrel:easypermissions:0.3.0'
    implementation "android.arch.persistence.room:runtime:1.0.0-beta2"
    annotationProcessor "android.arch.persistence.room:compiler:1.0.0-beta2"

    androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
        // excluding org.json which is provided by Android
         exclude group: 'org.json', module: 'json'
    })
    testImplementation 'junit:junit:4.12'
}

configurations {
    all {
        exclude group: 'org.json', module: 'json'
    }
}
