buildscript { ext.kotlin_version = '1.0.3' repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion 'android-23' buildToolsVersion '24.0.1' defaultConfig { applicationId 'com.pleasantprogrammer.mpp' minSdkVersion 15 targetSdkVersion 22 versionCode 1 versionName '0.1' } buildTypes { release { proguardFile getDefaultProguardFile('proguard-android.txt') } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } } repositories { jcenter() } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile 'org.jetbrains.anko:anko-sdk15:0.9' }