1apply plugin: 'com.android.application' 2apply plugin: 'kotlin-android' 3apply plugin: 'kotlin-android-extensions' 4 5android { 6 compileSdkVersion 27 7 defaultConfig { 8 applicationId "com.example.android.camera2video" 9 minSdkVersion 24 10 targetSdkVersion 27 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} 21 22dependencies { 23 implementation "com.android.support:appcompat-v7:27.0.2" 24 implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" 25}