File tree Expand file tree Collapse file tree
build-logic/src/main/groovy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,13 +185,11 @@ Closure buildExcludeFilter(boolean legacyTestSuite) {
185185// swallows the entirety of a project's test source set.
186186gradle. taskGraph. whenReady { graph ->
187187 def testTask = tasks. named(' test' ). get()
188- logger. lifecycle(" DEBUG[grape-warn] project=${ project.path} hasTest=${ graph.hasTask(testTask)} " )
189188 if (! graph. hasTask(testTask)) return
190189 if (providers. systemProperty(' junit.network' ). getOrNull()) return
191190 boolean hasGrapeTests = sourceSets. test. allSource. srcDirs. any {
192191 new File (it, ' groovy/grape' ). isDirectory()
193192 }
194- logger. lifecycle(" DEBUG[grape-warn] project=${ project.path} hasGrapeTests=${ hasGrapeTests} " )
195193 if (hasGrapeTests) {
196194 logger. warn(" WARNING: ${ testTask.path} will skip groovy/grape/* tests; set -Djunit.network=true to include them" )
197195 }
You can’t perform that action at this time.
0 commit comments