apply plugin: 'com.android.application' apply plugin: 'realm-android' // Realm needs to be before Kotlin or the build will fail apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { compileSdkVersion 26 buildToolsVersion "26.0.1" defaultConfig { applicationId "com.moez.QKSMS" minSdkVersion 21 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { applicationIdSuffix ".debug" } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile "android.arch.lifecycle:extensions:1.0.0-alpha9-1" compile "android.arch.lifecycle:runtime:1.0.0" compile 'com.android.support:appcompat-v7:26.1.0' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.android.support:design:26.1.0' compile 'com.bugsnag:bugsnag-android:3.9.0' compile "com.google.dagger:dagger:2.11" compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0' compile 'com.jakewharton.timber:timber:4.5.1' compile 'com.karumi:dexter:4.1.0' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' compile "io.reactivex.rxjava2:rxjava:2.1.4" compile 'io.reactivex.rxjava2:rxkotlin:2.0.3' compile 'io.realm:android-adapters:2.1.0' compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" kapt "android.arch.lifecycle:compiler:1.0.0-alpha9-1" kapt "com.google.dagger:dagger-compiler:2.11" kapt 'io.realm:realm-annotations:3.7.0' kapt 'io.realm:realm-annotations-processor:3.7.0' provided 'javax.annotation:jsr250-api:1.0' }