apply plugin: 'java' sourceCompatibility = '1.7' targetCompatibility = '1.7' repositories { mavenCentral() } dependencies { testCompile "junit:junit:4.12" }