mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Ensure that server tests run when test apps have changed
Closes gh-19858
This commit is contained in:
parent
c1f2efe00c
commit
1765f4e9cf
@ -58,5 +58,16 @@ task buildApps(type: GradleBuild) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
intTest {
|
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
|
dependsOn buildApps
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user