apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
    compileSdkVersion project.COMPILE_SDK
    defaultConfig {
        minSdkVersion project.MIN_SDK
        targetSdkVersion project.TARGET_SDK
        applicationId "com.github.florent37.runtimepermissions.sample"
        versionCode 1
        versionName "1.0"

        dexOptions {
            preDexLibraries = false
        }
    }

    compileOptions {
        targetCompatibility project.targetCompatibilityVersion
        sourceCompatibility project.sourceCompatibilityVersion
    }
}

dependencies {
    implementation project(':runtime-permission')
    implementation project(':runtime-permission-rx')
    implementation project(':runtime-permission-kotlin')

    implementation 'androidx.appcompat:appcompat:1.0.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.2'

    implementation "io.reactivex.rxjava2:rxjava:2.2.2"

    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$android_coroutines"

    implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
}
