From 33c9bfac141ac8427f6c9676875afd4cc798bfd8 Mon Sep 17 00:00:00 2001 From: daz Date: Sun, 20 Aug 2023 13:59:33 -0600 Subject: [PATCH] Fix test for dependency graph with configuration cache --- .../com/gradle/gradlebuildaction/TestDependencyGraph.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestDependencyGraph.groovy b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestDependencyGraph.groovy index b19db35..5cf1d2b 100644 --- a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestDependencyGraph.groovy +++ b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestDependencyGraph.groovy @@ -32,20 +32,20 @@ class TestDependencyGraph extends BaseInitScriptTest { assert gitHubOutputFile.text == "dependency-graph-file=${reportFile.absolutePath}\n" where: - testGradleVersion << GRADLE_8_X + testGradleVersion << [GRADLE_8_X] } - // Dependency-graph plugin doesn't support config-cache for 8.0 of Gradle def "produces dependency graph with configuration-cache on latest Gradle"() { assumeTrue testGradleVersion.compatibleWithCurrentJvm when: - run(['help'], initScript, testGradleVersion.gradleVersion, [], envVars) + run(['help', '--configuration-cache'], initScript, testGradleVersion.gradleVersion, [], envVars) then: assert reportFile.exists() where: + // Dependency-graph plugin doesn't support config-cache for 8.0 of Gradle testGradleVersion << [GRADLE_8_X] }