Ensure that server tests run when test apps have changed
Closes gh-19858
This commit is contained in:
@@ -58,5 +58,16 @@ task buildApps(type: GradleBuild) {
|
||||
}
|
||||
|
||||
intTest {
|
||||
inputs.files(
|
||||
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-jetty.jar",
|
||||
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-jetty.war",
|
||||
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-resources.jar",
|
||||
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-tomcat.jar",
|
||||
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-tomcat.war",
|
||||
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-undertow.jar",
|
||||
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-undertow.war")
|
||||
.withPropertyName("applicationArchives")
|
||||
.withPathSensitivity(PathSensitivity.RELATIVE)
|
||||
.withNormalizer(ClasspathNormalizer)
|
||||
dependsOn buildApps
|
||||
}
|
||||
Reference in New Issue
Block a user