1apply plugin: 'com.android.application'
2
3apply plugin: 'kotlin-android'
4
5apply plugin: 'kotlin-android-extensions'
6
7android {
8    compileSdkVersion 26
9    buildToolsVersion '26.0.2'
10    defaultConfig {
11        applicationId "com.example.android.camera2basic"
12        minSdkVersion 21
13        targetSdkVersion 26
14        versionCode 1
15        versionName "1.0"
16    }
17    buildTypes {
18        release {
19            minifyEnabled false
20            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21        }
22    }
23}
24
25dependencies {
26    implementation "com.android.support:appcompat-v7:26.1.0"
27    implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
28}
29