1 apply plugin: 'com.android.application' 2 apply plugin: 'kotlin-android' 3 4 android { 5 compileSdkVersion 'android-O' 6 buildToolsVersion "26.0.0 rc2" 7 8 defaultConfig { 9 applicationId "com.example.android.downloadablefonts" 10 // Once API level 26 SDK is launched, lower the minSdkVersion. 11 // At this moment, an app targeting the preview version of the SDK only runs on the 12 // preview device. 13 minSdkVersion 'O' 14 targetSdkVersion 'O' 15 } 16 17 buildTypes { 18 release { 19 minifyEnabled false 20 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 21 } 22 } 23 24 dependencies { 25 compile 'com.android.support:appcompat-v7:26.0.0-beta1' 26 compile 'com.android.support:design:26.0.0-beta1' 27 compile 'com.android.support:cardview-v7:26.0.0-beta1' 28 } 29 } 30 31 repositories { 32 mavenCentral() 33 } 34 dependencies { 35 compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" 36 } 37 38