Skip to content

Commit f026e29

Browse files
erichaagdevmarcusdacoregio
authored andcommitted
Add dependency on rncToXsd task from nohttp
This addresses a deprecation warning causing build caching to be disabled for the checkstyleNohttp task. With this change, we tell Gradle that the rncToXsd task in the spring-security-config project produces output that should be considered when running the checkstyleNohttp task. This clears up ambiguities when computing the task graph.
1 parent 620e6e0 commit f026e29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import io.spring.gradle.IncludeRepoTask
2+
import trang.RncToXsd
23

34
buildscript {
45
dependencies {
@@ -189,7 +190,7 @@ if (hasProperty('buildScan')) {
189190

190191
nohttp {
191192
source.exclude "buildSrc/build/**"
192-
193+
source.builtBy(project(':spring-security-config').tasks.withType(RncToXsd))
193194
}
194195

195196
tasks.register('cloneSamples', IncludeRepoTask) {

0 commit comments

Comments
 (0)