From f026e2977102836a06ef9d50a77f8b1a2fb7c878 Mon Sep 17 00:00:00 2001 From: Eric Haag Date: Fri, 18 Aug 2023 10:35:46 -0500 Subject: [PATCH] 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. --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 9aa170a727..1a086bd96f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ import io.spring.gradle.IncludeRepoTask +import trang.RncToXsd buildscript { dependencies { @@ -189,7 +190,7 @@ if (hasProperty('buildScan')) { nohttp { source.exclude "buildSrc/build/**" - + source.builtBy(project(':spring-security-config').tasks.withType(RncToXsd)) } tasks.register('cloneSamples', IncludeRepoTask) {