buildscript { repositories { mavenCentral() } dependencies { classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } } apply plugin: 'com.android.application' apply plugin: 'com.neenbedankt.android-apt' ext { PUBLISH_VERSION = '0.9.0.2' SUPPORT_LIBRARY_VERSION = '24.2.1' BUILD_TOOLS = "24.0.2" TARGET_SDK = 24 } android { compileSdkVersion TARGET_SDK buildToolsVersion BUILD_TOOLS defaultConfig { applicationId "com.afollestad.materialdialogssample" minSdkVersion 9 targetSdkVersion TARGET_SDK versionCode 167 versionName PUBLISH_VERSION } lintOptions { abortOnError false } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { compile project(':core') compile project(':commons') compile "com.android.support:gridlayout-v7:$SUPPORT_LIBRARY_VERSION" compile 'com.jakewharton:butterknife:8.1.0' apt 'com.jakewharton:butterknife-compiler:8.1.0' }