diff --git a/README.md b/README.md index e260b28..c531b7d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Based on the Spring Guides' Spring Boot web application example. Please be sure To run the web application, issue the following command: ``` -./bld run +./bld compile run ``` To access the web application, issue the follow command: diff --git a/src/bld/java/com/example/springboot/ApplicationBuild.java b/src/bld/java/com/example/springboot/ApplicationBuild.java index 19ded19..30ea702 100644 --- a/src/bld/java/com/example/springboot/ApplicationBuild.java +++ b/src/bld/java/com/example/springboot/ApplicationBuild.java @@ -17,22 +17,18 @@ public class ApplicationBuild extends WebProject { javaRelease = 17; + autoDownloadPurge = true; + repositories = List.of(MAVEN_CENTRAL); scope(compile) - .include(dependency("org.springframework.boot", "spring-boot-starter", - version(3, 1, 5))) - .include(dependency("org.springframework.boot", "spring-boot-starter-actuator", - version(3, 1, 5))) - .include(dependency("org.springframework.boot", "spring-boot-starter-web", - version(3, 1, 5))); + .include(dependency("org.springframework.boot:spring-boot-starter:3.1.5")) + .include(dependency("org.springframework.boot:spring-boot-starter-actuator:3.1.5")) + .include(dependency("org.springframework.boot:spring-boot-starter-web:3.1.5")); scope(test) - .include(dependency("org.springframework.boot", "spring-boot-starter-test", - version(3, 1, 5))) - .include(dependency("org.junit.jupiter", "junit-jupiter", - version(5, 10, 0))) - .include(dependency("org.junit.platform", "junit-platform-console-standalone", - version(1, 10, 0))); + .include(dependency("org.springframework.boot:spring-boot-starter-test:3.1.5")) + .include(dependency("org.junit.jupiter:junit-jupiter:5.10.0")) + .include(dependency("org.junit.platform:junit-platform-console-standalone:1.10.0")); } public static void main(String[] args) {