parent
1c6bc9936d
commit
32bb6f6989
@ -0,0 +1,43 @@
|
|||||||
|
plugins {
|
||||||
|
id "war"
|
||||||
|
id "org.springframework.boot.conventions"
|
||||||
|
id "org.springframework.boot.system-test"
|
||||||
|
}
|
||||||
|
|
||||||
|
description = "Spring Boot Deployment Tests"
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
providedRuntime {
|
||||||
|
extendsFrom dependencyManagement
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
configurations.all {
|
||||||
|
exclude module: "spring-boot-starter-logging"
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")) {
|
||||||
|
exclude group: "org.hibernate.validator"
|
||||||
|
}
|
||||||
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator"))
|
||||||
|
|
||||||
|
systemTestImplementation(enforcedPlatform(project(path: ":spring-boot-project:spring-boot-parent")))
|
||||||
|
systemTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||||
|
systemTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||||
|
systemTestImplementation("org.apache.httpcomponents:httpasyncclient")
|
||||||
|
systemTestImplementation("org.awaitility:awaitility")
|
||||||
|
systemTestImplementation("org.testcontainers:junit-jupiter")
|
||||||
|
systemTestImplementation("org.testcontainers:testcontainers")
|
||||||
|
systemTestImplementation("org.springframework:spring-web")
|
||||||
|
|
||||||
|
providedRuntime(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
|
||||||
|
}
|
||||||
|
|
||||||
|
systemTest {
|
||||||
|
inputs.files(war).withNormalizer(ClasspathNormalizer)
|
||||||
|
}
|
||||||
|
|
||||||
|
war {
|
||||||
|
archiveVersion = ''
|
||||||
|
}
|
@ -1,39 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id "war"
|
|
||||||
id "org.springframework.boot.conventions"
|
|
||||||
id "org.springframework.boot.integration-test"
|
|
||||||
}
|
|
||||||
|
|
||||||
description = "Spring Boot Deployment Tests"
|
|
||||||
|
|
||||||
configurations {
|
|
||||||
providedRuntime {
|
|
||||||
extendsFrom dependencyManagement
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")) {
|
|
||||||
exclude group: "org.hibernate.validator"
|
|
||||||
}
|
|
||||||
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator"))
|
|
||||||
|
|
||||||
intTestImplementation(enforcedPlatform(project(path: ":spring-boot-project:spring-boot-parent")))
|
|
||||||
intTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
||||||
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
|
||||||
intTestImplementation("org.apache.httpcomponents:httpasyncclient")
|
|
||||||
intTestImplementation("org.awaitility:awaitility")
|
|
||||||
intTestImplementation("org.testcontainers:junit-jupiter")
|
|
||||||
intTestImplementation("org.testcontainers:testcontainers")
|
|
||||||
intTestImplementation("org.springframework:spring-web")
|
|
||||||
|
|
||||||
providedRuntime(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
|
|
||||||
}
|
|
||||||
|
|
||||||
intTest {
|
|
||||||
inputs.files(war).withNormalizer(ClasspathNormalizer)
|
|
||||||
}
|
|
||||||
|
|
||||||
war {
|
|
||||||
archiveVersion = ''
|
|
||||||
}
|
|
Loading…
Reference in New Issue