Changed dependencies format to Maven coordinates

This commit is contained in:
Erik C. Thauvin 2023-10-23 05:16:04 -07:00
parent b5bd9a9ee5
commit 9ca289dd28
2 changed files with 9 additions and 13 deletions

View file

@ -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: To run the web application, issue the following command:
``` ```
./bld run ./bld compile run
``` ```
To access the web application, issue the follow command: To access the web application, issue the follow command:

View file

@ -17,22 +17,18 @@ public class ApplicationBuild extends WebProject {
javaRelease = 17; javaRelease = 17;
autoDownloadPurge = true;
repositories = List.of(MAVEN_CENTRAL); repositories = List.of(MAVEN_CENTRAL);
scope(compile) scope(compile)
.include(dependency("org.springframework.boot", "spring-boot-starter", .include(dependency("org.springframework.boot:spring-boot-starter:3.1.5"))
version(3, 1, 5))) .include(dependency("org.springframework.boot:spring-boot-starter-actuator:3.1.5"))
.include(dependency("org.springframework.boot", "spring-boot-starter-actuator", .include(dependency("org.springframework.boot:spring-boot-starter-web:3.1.5"));
version(3, 1, 5)))
.include(dependency("org.springframework.boot", "spring-boot-starter-web",
version(3, 1, 5)));
scope(test) scope(test)
.include(dependency("org.springframework.boot", "spring-boot-starter-test", .include(dependency("org.springframework.boot:spring-boot-starter-test:3.1.5"))
version(3, 1, 5))) .include(dependency("org.junit.jupiter:junit-jupiter:5.10.0"))
.include(dependency("org.junit.jupiter", "junit-jupiter", .include(dependency("org.junit.platform:junit-platform-console-standalone:1.10.0"));
version(5, 10, 0)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone",
version(1, 10, 0)));
} }
public static void main(String[] args) { public static void main(String[] args) {