Skip to content

Commit

Permalink
Merge pull request #139 from sghill/4.8-compat
Browse files Browse the repository at this point in the history
Gradle 4.8 Compatibility
  • Loading branch information
sghill authored May 14, 2018
2 parents 84357fd + 4e41491 commit ea48a45
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.configurationNames = [ 'testRuntime' ]

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -90,7 +90,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
}'''.stripIndent()

when:
task.execute()
task.lock()

then:
task.dependenciesLock.text == lockText
Expand Down Expand Up @@ -118,7 +118,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.configurationNames= [ 'testRuntime' ]

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -164,7 +164,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.includeTransitives = true

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -217,7 +217,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.configurationNames= [ 'testRuntime' ]

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -291,7 +291,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.configurationNames= [ 'testRuntime' ]

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -338,7 +338,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.includeTransitives = true

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -373,7 +373,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.includeTransitives = true

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -411,7 +411,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.includeTransitives = true

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -454,7 +454,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.includeTransitives = true

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -500,7 +500,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.includeTransitives = true

when:
task.execute()
task.lock()

then:
String lockText = '''\
Expand Down Expand Up @@ -555,7 +555,7 @@ class GenerateLockTaskSpec extends ProjectSpec {
task.filter = filter as Closure

when:
task.execute()
task.lock()

then:
task.dependenciesLock.text == lockText
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class GenerateLockTaskWithWaybackSpec extends ProjectSpec {

def 'lock both configurations using wayback data'() {
when:
task.execute()
task.lock()
def locks = new JsonSlurper().parse(task.dependenciesLock)

then:
Expand All @@ -70,7 +70,7 @@ class GenerateLockTaskWithWaybackSpec extends ProjectSpec {
'''.stripMargin()

when:
task.execute()
task.lock()
def locks = new JsonSlurper().parse(task.dependenciesLock)

then:
Expand All @@ -91,7 +91,7 @@ class GenerateLockTaskWithWaybackSpec extends ProjectSpec {
'''.stripMargin()

when:
task.execute()
task.lock()
def locks = new JsonSlurper().parse(task.dependenciesLock)

then:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class UpdateLockTaskSpec extends ProjectSpec {
)

when:
task.execute()
task.lock()

then:
task.dependenciesLock.text == updatedLock
Expand Down

0 comments on commit ea48a45

Please sign in to comment.