From 795ffb637f68e4c7946c3968147a46b1ffa5cba2 Mon Sep 17 00:00:00 2001 From: Adam Pounder <3522358-Poundex@users.noreply.gitlab.com> Date: Sun, 6 Oct 2024 11:02:38 +0100 Subject: [PATCH] Update to Groovy 4.0.23 --- gradle/libs.versions.toml | 4 ++-- .../src/main/groovy/geb/content/PageContentTemplate.groovy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f71735e6a..8a1bf4b20 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,12 +1,12 @@ [versions] -groovy = "4.0.5" +groovy = "4.0.23" jetty = "9.4.44.v20210927" junit4 = "4.13.2" junit5 = "5.8.1" ratpack = "1.10.0-milestone-32" sauceConnect = "1.153" selenium = "4.2.2" -spock = "2.3-groovy-4.0" +spock = "2.4-M4-groovy-4.0" threeTen = "1.7.0" [libraries] diff --git a/module/geb-core/src/main/groovy/geb/content/PageContentTemplate.groovy b/module/geb-core/src/main/groovy/geb/content/PageContentTemplate.groovy index 5d07007e1..e06955358 100644 --- a/module/geb-core/src/main/groovy/geb/content/PageContentTemplate.groovy +++ b/module/geb-core/src/main/groovy/geb/content/PageContentTemplate.groovy @@ -111,7 +111,7 @@ class PageContentTemplate { factoryReturn.init(this, args) } if (factoryReturn instanceof Navigator) { - new TemplateDerivedPageContent(browser, this, factoryReturn, *args) + new TemplateDerivedPageContent(browser, this, factoryReturn, args) } else { factoryReturn }