buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.3.1' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' } } apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' dependencies { compile project(':play-services-base') compile project(':play-services-location') compile project(':play-services-wearable') } android { compileSdkVersion 22 buildToolsVersion "22.0.1" compileOptions { sourceCompatibility JavaVersion.VERSION_1_6 } }