mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Make it easier to create executable and deployable war
Closes gh-46944
This commit is contained in:
@@ -44,7 +44,7 @@ systemTest {
|
||||
|
||||
dependencies {
|
||||
app project(path: ":build-plugin:spring-boot-gradle-plugin", configuration: "mavenRepository")
|
||||
app project(path: ":starter:spring-boot-starter-web", configuration: "mavenRepository")
|
||||
app project(path: ":starter:spring-boot-starter-webmvc", configuration: "mavenRepository")
|
||||
|
||||
implementation(project(":starter:spring-boot-starter-webmvc")) {
|
||||
exclude group: "org.hibernate.validator"
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web:{bootVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webmvc:{bootVersion}")
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web:{bootVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webmvc:{bootVersion}")
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
+2
-2
@@ -37,8 +37,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web:{bootVersion}")
|
||||
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat:{bootVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webmvc:{bootVersion}")
|
||||
providedRuntime("org.springframework.boot:spring-boot-tomcat-runtime:{bootVersion}")
|
||||
}
|
||||
|
||||
bootWar {
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ tasks.named("bootBuildImage") {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web:{bootVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webmvc:{bootVersion}")
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web:{bootVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webmvc:{bootVersion}")
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web:{bootVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webmvc:{bootVersion}")
|
||||
}
|
||||
|
||||
war {
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web:{bootVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webmvc:{bootVersion}")
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
Reference in New Issue
Block a user