Changed dependencies format to Maven coordinates
This commit is contained in:
parent
b5bd9a9ee5
commit
9ca289dd28
2 changed files with 9 additions and 13 deletions
|
@ -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:
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue