From 434fe95bfd6baf416d0f11f4b2db070e3abdec2e Mon Sep 17 00:00:00 2001 From: Yannick Dylla <17772145+ydylla@users.noreply.github.com> Date: Wed, 3 Jul 2024 16:55:24 +0200 Subject: [PATCH] chore: update deps && jdk 17 only --- build.gradle | 17 ++++++++--------- src/test/groovy/GebConfig.groovy | 2 -- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index f205bd0..6320998 100644 --- a/build.gradle +++ b/build.gradle @@ -7,33 +7,32 @@ plugins { description = "Utilities for Geb-based browser tests of Tapestry applications" group = "de.eddyson" -version = "0.48.0" +version = "0.49.0" repositories { mavenCentral() } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 withSourcesJar() } ext.versions = [ - tapestry: '5.8.3', - jetty: '12.0.4' + tapestry: '5.8.6', + jetty: '12.0.10' ] dependencies { implementation "org.apache.tapestry:tapestry-core:$versions.tapestry" implementation "org.eclipse.jetty:jetty-server:$versions.jetty" implementation "org.eclipse.jetty.ee8:jetty-ee8-webapp:$versions.jetty" // servlet 4.x - implementation "org.gebish:geb-spock:6.0" - implementation "org.seleniumhq.selenium:selenium-support:4.15.0" + implementation "org.gebish:geb-spock:7.0" + implementation "org.seleniumhq.selenium:selenium-support:4.22.0" - testImplementation "io.github.bonigarcia:webdrivermanager:5.6.2" - testImplementation "org.seleniumhq.selenium:selenium-firefox-driver:4.15.0" + testImplementation "org.seleniumhq.selenium:selenium-firefox-driver:4.22.0" testImplementation "org.tynamo:tapestry-resteasy:0.7.0" } diff --git a/src/test/groovy/GebConfig.groovy b/src/test/groovy/GebConfig.groovy index a84062f..aa33ca6 100644 --- a/src/test/groovy/GebConfig.groovy +++ b/src/test/groovy/GebConfig.groovy @@ -1,4 +1,3 @@ -import io.github.bonigarcia.wdm.WebDriverManager import org.openqa.selenium.firefox.FirefoxDriver reportsDir = "build/reports/geb" @@ -7,7 +6,6 @@ baseUrl = "http://localhost:${System.getProperty("jettyPort")}/" environments { "firefox" { driver = { - WebDriverManager.firefoxdriver().setup() new FirefoxDriver() } }