Skip to content

Commit

Permalink
Fix name clash with integration test apps
Browse files Browse the repository at this point in the history
Rename "app" projects in `spring-boot-launch-script-tests` and
`spring-boot-loader-tests` to something unique.

See gh-18631
  • Loading branch information
philwebb committed Dec 18, 2020
1 parent c4e4130 commit a2a153a
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 6 deletions.
Expand Up @@ -27,16 +27,16 @@ 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}\"")
}
}

task buildApp(type: GradleBuild) {
dependsOn syncAppSource, syncMavenRepository
dir = "${buildDir}/app"
dir = "${buildDir}/spring-boot-launch-script-tests-app"
startParameter.buildCacheEnabled = false
tasks = ["build"]
}
Expand Down
Expand Up @@ -28,16 +28,16 @@ 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}\"")
}
}

task buildApp(type: GradleBuild) {
dependsOn syncAppSource, syncMavenRepository
dir = "${buildDir}/app"
dir = "${buildDir}/spring-boot-loader-tests-app"
startParameter.buildCacheEnabled = false
tasks = ["build"]
}
Expand Down

0 comments on commit a2a153a

Please sign in to comment.