apply plugin: 'com.android.application'
//apply plugin: 'com.neenbedankt.android-apt'

android {
    compileSdkVersion 23
    buildToolsVersion '27.0.3'

    defaultConfig {
        applicationId "com.macoscpoe.roombooker"
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        //Using AVD localhost can be reached at 10.0.2.2 ip address (for Genymotion 10.0.3.2)
        //Sinatra framework launch service on 4567 port
        buildConfigField 'String', 'apiEndpointUrl', '"http://10.0.2.2:4567/"'

    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            minifyEnabled false
            versionNameSuffix "_debug"
        }
    }

}

dependencies {
    api fileTree(include: ['*.jar'], dir: 'libs')
    testImplementation 'junit:junit:4.12'
    api project(':mvp')
    api 'com.android.support:appcompat-v7:23.1.1'
    api 'com.android.support:design:23.1.1'
    implementation 'com.jakewharton:butterknife:7.0.1'
    api 'com.android.support:cardview-v7:23.1.1'
    api 'com.google.dagger:dagger:2.0'
    api 'com.google.dagger:dagger-compiler:2.0'
    compileOnly 'org.glassfish:javax.annotation:10.0-b28'
    api 'io.reactivex:rxjava:1.0.14'
    api 'io.reactivex:rxandroid:1.0.1'
    api 'io.reactivex:rxjava-joins:0.22.0'
    api 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
    api 'com.squareup.retrofit:retrofit:2.0.0-beta2'
    api 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta2'
    api 'com.squareup.okhttp:logging-interceptor:2.6.0'
}
