Files
spring-boot/spring-boot-tests/spring-boot-deployment-tests/build.gradle
Scott Frederick 4e55f2aab4 Add jetty-server to classpath for integration test
This commit works around a problem with deploying Boot apps to Wildfly
for integration testing while we investigate the root cause.

See gh-20876
2020-04-07 17:10:45 -05:00

30 lines
1.1 KiB
Groovy

plugins {
id "war"
id "org.springframework.boot.conventions"
id "org.springframework.boot.integration-test"
}
description = "Spring Boot Deployment Tests"
dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")) {
exclude group: "org.hibernate.validator"
}
implementation("org.eclipse.jetty:jetty-server")
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:testcontainers")
intTestImplementation("org.springframework:spring-web")
providedRuntime(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
runtimeOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator"))
}
intTest {
dependsOn war
}