1apply plugin: 'com.android.application' 2 3apply plugin: 'kotlin-android' 4 5apply plugin: 'kotlin-android-extensions' 6 7android { 8 compileSdkVersion 28 9 defaultConfig { 10 applicationId "com.example.android.recyclerview" 11 minSdkVersion 14 12 targetSdkVersion 28 13 versionCode 1 14 versionName "1.0" 15 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 16 } 17 buildTypes { 18 release { 19 minifyEnabled false 20 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 21 } 22 } 23 24 lintOptions { 25 abortOnError false 26 } 27} 28 29dependencies { 30 implementation "com.android.support:appcompat-v7:28.0.0" 31 implementation "com.android.support:recyclerview-v7:28.0.0" 32 implementation fileTree(dir: 'libs', include: ['*.jar']) 33 implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" 34} 35