apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion getProject().compileSdkVersion buildToolsVersion getProject().buildToolsVersion defaultConfig { applicationId "com.tedxiong.kotlin" minSdkVersion getProject().minSdkVersion targetSdkVersion getProject().targetSdkVersion versionCode getProject().versionCode versionName getProject().versionName testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) testCompile 'junit:junit:4.12' compile getProject().appcompatV7 compile getProject().constraintLayout compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.anko:anko-commons:$anko_version" compile "org.jetbrains.anko:anko-sqlite:$anko_version" compile "org.jetbrains.anko:anko-coroutines:$anko_version" } repositories { mavenCentral() }