Browse Source

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.
pull/13777/head
Eric Haag 2 years ago committed by Marcus Da Coregio
parent
commit
f026e29771
  1. 3
      build.gradle

3
build.gradle

@ -1,4 +1,5 @@
import io.spring.gradle.IncludeRepoTask import io.spring.gradle.IncludeRepoTask
import trang.RncToXsd
buildscript { buildscript {
dependencies { dependencies {
@ -189,7 +190,7 @@ if (hasProperty('buildScan')) {
nohttp { nohttp {
source.exclude "buildSrc/build/**" source.exclude "buildSrc/build/**"
source.builtBy(project(':spring-security-config').tasks.withType(RncToXsd))
} }
tasks.register('cloneSamples', IncludeRepoTask) { tasks.register('cloneSamples', IncludeRepoTask) {

Loading…
Cancel
Save