Skip to content

Commit

Permalink
Add dependency on rncToXsd task from nohttp
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
erichaagdev authored and marcusdacoregio committed Sep 13, 2023
1 parent 620e6e0 commit f026e29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import io.spring.gradle.IncludeRepoTask
import trang.RncToXsd

buildscript {
dependencies {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit f026e29

Please sign in to comment.