1apply plugin: 'com.android.application' 2 3apply plugin: 'kotlin-android' 4 5apply plugin: 'kotlin-android-extensions' 6 7android { 8 compileSdkVersion 27 9 defaultConfig { 10 applicationId "com.example.android.recyclerview" 11 minSdkVersion 14 12 targetSdkVersion 27 13 versionCode 1 14 versionName "1.0" 15 testInstrumentationRunner "androidx.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:27.0.2" 31 implementation 'com.android.support:recyclerview-v7:27.0.2' 32 implementation fileTree(dir: 'libs', include: ['*.jar']) 33 implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" 34} 35