buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.0.1' classpath 'com.github.dcendents:android-maven-plugin:1.2' } } 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 } }