buildscript { repositories { mavenLocal() mavenCentral() maven { url "http://repo.spring.io/snapshot" } maven { url "http://repo.spring.io/milestone" } } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72" 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") } }