• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: 'com.android.application'
2apply plugin: 'kotlin-android'
3apply plugin: 'kotlin-android-extensions'
4
5android {
6    compileSdkVersion rootProject.ext.compileSdkVersion
7    defaultConfig {
8        applicationId "com.example.android.navigationdrawer"
9        minSdkVersion rootProject.ext.minSdkVersion
10        targetSdkVersion rootProject.ext.targetSdkVersion
11        versionCode 1
12        versionName "1.0"
13    }
14    buildTypes {
15        release {
16            minifyEnabled false
17            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18        }
19    }
20    sourceSets {
21        main {
22            java.srcDirs "src/main/java"
23            res.srcDirs "src/main/res"
24        }
25        androidTest.setRoot('tests')
26        androidTest.java.srcDirs = ['tests/src']
27    }
28}
29
30dependencies {
31    implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
32    implementation "com.android.support:cardview-v7:$rootProject.ext.supportLibVersion"
33    implementation "com.android.support:recyclerview-v7:$rootProject.supportLibVersion"
34    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$rootProject.ext.kotlinVersion"
35}
36