// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.0.0' } } allprojects { repositories { mavenCentral() } version = "1.0.0-SNAPSHOT" tasks.withType(JavaCompile) { sourceCompatibility = "1.7" targetCompatibility = "1.7" } }