Skip to content

Commit

Permalink
Ignore test on older Gradle versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jun 27, 2024
1 parent dc25a23 commit 0090ca1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package org.gradle.github.dependencygraph


import org.gradle.test.fixtures.maven.MavenModule
import org.gradle.util.GradleVersion
import spock.lang.IgnoreIf

class MultiProjectDependencyExtractorTest extends BaseExtractorTest {
private MavenModule foo
Expand Down Expand Up @@ -251,6 +253,10 @@ class MultiProjectDependencyExtractorTest extends BaseExtractorTest {
])
}

@IgnoreIf({
// `includeBuild('.')` is not possible with Gradle < 6.1
GradleVersion.version(testGradleVersion) < GradleVersion.version("6.1")
})
def "extracts dependencies from build that includes itself"() {
given:
settingsFile << """
Expand Down

0 comments on commit 0090ca1

Please sign in to comment.