Avoid calling getProject() during task execution

Closes gh-32980
This commit is contained in:
Andy Wilkinson
2024-10-29 17:09:32 +00:00
parent decf234b88
commit c340c691c5
11 changed files with 84 additions and 41 deletions

View File

@@ -32,10 +32,11 @@ task syncIntegrationTestSources(type: Sync) {
}
processResources {
def version = project.version
eachFile {
filter { it.replace('${spring-boot.version}', project.version) }
filter { it.replace('${spring-boot.version}', version) }
}
inputs.property "version", project.version
inputs.property "version", version
}
task integrationTest {