apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { compileSdkVersion propCompileSdkVersion buildToolsVersion propBuildToolsVersion defaultConfig { applicationId "com.simplemobiletools.commons" minSdkVersion propMinSdkVersion targetSdkVersion propTargetSdkVersion versionCode propVersionCode versionName propVersionName } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } } dependencies { compile "com.android.support:appcompat-v7:$support_libs" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile project(':commons') } buildscript { repositories { mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" } }