apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { applicationId "com.example.android.navigationdrawer" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main { java.srcDirs "src/main/java" res.srcDirs "src/main/res" } androidTest.setRoot('tests') androidTest.java.srcDirs = ['tests/src'] } } dependencies { implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion" implementation "com.android.support:cardview-v7:$rootProject.ext.supportLibVersion" implementation "com.android.support:recyclerview-v7:$rootProject.supportLibVersion" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$rootProject.ext.kotlinVersion" }