buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.5.+' } } apply plugin: 'android-library' repositories { mavenCentral() } android { compileSdkVersion 17 buildToolsVersion "17.0.0" defaultConfig { minSdkVersion 7 targetSdkVersion 17 } } dependencies { compile 'com.android.support:support-v4:18.0.0' compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar' }