Fix name clash with integration test apps

Rename "app" projects in `spring-boot-launch-script-tests` and
`spring-boot-loader-tests` to something unique.

See gh-18631
This commit is contained in:
Phillip Webb 2020-12-17 21:56:13 -08:00
parent c4e41305d5
commit a2a153ade6
9 changed files with 6 additions and 6 deletions

View File

@ -27,8 +27,8 @@ task syncMavenRepository(type: Sync) {
}
task syncAppSource(type: Sync) {
from "app"
into "${buildDir}/app"
from "spring-boot-launch-script-tests-app"
into "${buildDir}/spring-boot-launch-script-tests-app"
filter { line ->
line.replace("id \"org.springframework.boot\"", "id \"org.springframework.boot\" version \"${project.version}\"")
}
@ -36,7 +36,7 @@ task syncAppSource(type: Sync) {
task buildApp(type: GradleBuild) {
dependsOn syncAppSource, syncMavenRepository
dir = "${buildDir}/app"
dir = "${buildDir}/spring-boot-launch-script-tests-app"
startParameter.buildCacheEnabled = false
tasks = ["build"]
}

View File

@ -28,8 +28,8 @@ task syncMavenRepository(type: Sync) {
}
task syncAppSource(type: Sync) {
from "app"
into "${buildDir}/app"
from "spring-boot-loader-tests-app"
into "${buildDir}/spring-boot-loader-tests-app"
filter { line ->
line.replace("id \"org.springframework.boot\"", "id \"org.springframework.boot\" version \"${project.version}\"")
}
@ -37,7 +37,7 @@ task syncAppSource(type: Sync) {
task buildApp(type: GradleBuild) {
dependsOn syncAppSource, syncMavenRepository
dir = "${buildDir}/app"
dir = "${buildDir}/spring-boot-loader-tests-app"
startParameter.buildCacheEnabled = false
tasks = ["build"]
}