buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.5.+' } } apply plugin: 'android-library' repositories { mavenCentral() maven { url "https://raw.github.com/whispersystems/maven/master/gson/releases/" } } dependencies { compile 'com.google.protobuf:protobuf-java:2.4.1' compile 'com.madgag:sc-light-jdk15on:1.47.0.2' compile 'com.googlecode.libphonenumber:libphonenumber:5.3' compile 'org.whispersystems:gson:2.1' } android { compileSdkVersion 17 buildToolsVersion '17.0.0' android { sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] resources.srcDirs = ['src'] aild.srcDirs = ['src'] renderscript.srcDirs = ['src'] res.srcDirs = ['res'] assets.srcDirs = ['assets'] } } } }