buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion") } } allprojects { group = "net.chrisrichardson.eventstore" } task wrapper(type: Wrapper) { gradleVersion = '2.0' } subprojects { apply plugin: 'java' sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { mavenCentral() jcenter() eventuateMavenRepoUrl.split(',').each { repoUrl -> maven { url repoUrl } } } }