apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'net.ltgt.errorprone' configurations.errorprone { resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.19' } android { compileSdkVersion sdk_version buildToolsVersion build_tools_version defaultConfig { minSdkVersion 9 targetSdkVersion sdk_version versionCode 9 versionName '1.3.3' renderscriptTargetApi 24 renderscriptSupportModeEnabled true testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' } sourceSets { androidTest.java.srcDirs += 'src/androidTest/kotlin' } buildTypes { debug { applicationIdSuffix '.debug' } release { proguardFiles \ getDefaultProguardFile('proguard-android.txt'), \ 'proguard-rules.pro' minifyEnabled true shrinkResources true } } lintOptions { // because at the time of writing, even the latest version // of RenderScript is raising this error no matter if // renderscriptTargetApi matches targetSdkVersion disable 'GradleCompatible' } } dependencies { androidTestImplementation ('com.android.support.test:runner:1.0.2') { exclude module: 'support-annotations' } androidTestImplementation ('com.android.support.test:rules:1.0.2') { exclude module: 'support-annotations' } testImplementation 'junit:junit:4.12' implementation fileTree(dir: 'libs', include: '*') implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "com.android.support:appcompat-v7:$support_version" implementation "com.android.support:design:$support_version" }