apply plugin: 'com.android.application' android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { applicationId "cn.byk.pandora.avatarview" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" 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']) testCompile "junit:junit:$rootProject.ext.junitVersion" androidTestCompile("com.android.support.test.espresso:espresso-core:$rootProject.ext.espressoVersion", { exclude group: 'com.android.support', module: 'support-annotations' }) compile project(':avatarview') compile "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion" compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4' }