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 219e762 commit cec37b8
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 @@ -214,6 +216,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 included build"() {
given:
file("included-child/settings.gradle") << "rootProject.name = 'included-child'"
Expand Down

0 comments on commit cec37b8

Please sign in to comment.