buildscript { repositories { mavenLocal() mavenCentral() maven { url "http://repo.spring.io/snapshot" } maven { url "http://repo.spring.io/milestone" } } dependencies { classpath "org.springframework.boot:spring-boot-gradle-plugin:2.2.2.RELEASE" } } apply plugin: 'java' allprojects { repositories { mavenLocal() mavenCentral() maven { url "http://repo.spring.io/snapshot" } maven { url "http://repo.spring.io/milestone" } maven { url "http://repo.maven.apache.org/maven2" } } jar { group = "com.wbrawner" archiveVersion.set("0.0.1-SNAPSHOT") } }