Skip to content

Commit 015cf92

Browse files
committed
Name custom task inputs
Closes gh-28753
1 parent 96d98a0 commit 015cf92

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
215215
attributes "spring-integration-docs": integrationDocs
216216
}
217217
dependsOn test
218-
inputs.dir("${buildDir}/generated-snippets").withPathSensitivity(PathSensitivity.RELATIVE)
218+
inputs.dir("${buildDir}/generated-snippets").withPathSensitivity(PathSensitivity.RELATIVE).withPropertyName("generatedSnippets")
219219
}
220220

221221
asciidoctor {

spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ processResources {
4141
task integrationTest {
4242
dependsOn copyIntegrationTestSources, jar
4343
def resultsDir = file("${buildDir}/test-results/integrationTest")
44-
inputs.dir(file("src/it")).withPathSensitivity(PathSensitivity.RELATIVE)
45-
inputs.files(sourceSets.main.runtimeClasspath).withNormalizer(ClasspathNormalizer)
44+
inputs.dir(file("src/it")).withPathSensitivity(PathSensitivity.RELATIVE).withPropertyName("source")
45+
inputs.files(sourceSets.main.runtimeClasspath).withNormalizer(ClasspathNormalizer).withPropertyName("classpath")
4646
outputs.dirs resultsDir
4747
doLast {
4848
ant.with {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ task dependencyVersions(type: org.springframework.boot.build.constraints.Extract
6363

6464
tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
6565
dependsOn dependencyVersions
66-
inputs.dir('src/docs/gradle').withPathSensitivity(PathSensitivity.RELATIVE)
66+
inputs.dir('src/docs/gradle').withPathSensitivity(PathSensitivity.RELATIVE).withPropertyName('buildScripts')
6767
doFirst {
6868
attributes "dependency-management-plugin-version": dependencyVersions.versionConstraints["io.spring.gradle:dependency-management-plugin"]
6969
}

spring-boot-tests/spring-boot-deployment-tests/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies {
3333
}
3434

3535
intTest {
36-
inputs.files(war).withNormalizer(ClasspathNormalizer)
36+
inputs.files(war).withNormalizer(ClasspathNormalizer).withPropertyName("war")
3737
}
3838

3939
war {

0 commit comments

Comments
 (0)