TAP5-2744: fixing tapestry-webresources build
diff --git a/build.gradle b/build.gradle
index 756578b..8263e12 100755
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,8 @@
jackson: "2.13.1",
jsonschemaGenerator: "4.20.0",
junitJupiter: "5.8.2",
- commonsLang: "3.4"
+ commonsLang: "3.4",
+ webdriverManager: "5.3.1"
]
ext.continuousIntegrationBuild = Boolean.getBoolean("ci")
diff --git a/tapestry-test/build.gradle b/tapestry-test/build.gradle
index 008178e..faf10b6 100644
--- a/tapestry-test/build.gradle
+++ b/tapestry-test/build.gradle
@@ -5,7 +5,7 @@
api project(":tapestry-test-data")
api project(":tapestry-runner")
- implementation ("io.github.bonigarcia:webdrivermanager:5.3.1")
+ implementation ("io.github.bonigarcia:webdrivermanager:${versions.webdriverManager}")
api "org.seleniumhq.selenium:selenium-leg-rc:${versions.selenium}", {
exclude group: "org.seleniumhq.selenium", module: "jetty-repacked"
diff --git a/tapestry-webresources/build.gradle b/tapestry-webresources/build.gradle
index 770cc37..1263d6f 100644
--- a/tapestry-webresources/build.gradle
+++ b/tapestry-webresources/build.gradle
@@ -23,13 +23,14 @@
exclude group: "org.apache.tapestry"
}
testImplementation "org.junit.jupiter:junit-jupiter:${versions.junitJupiter}"
- testImplementation "org.seleniumhq.selenium:selenium-java:${versions.selenium}", {
- exclude group: "org.eclipse.jetty"
+ api "org.seleniumhq.selenium:selenium-leg-rc:${versions.selenium}", {
+ exclude group: "org.seleniumhq.selenium", module: "jetty-repacked"
+ exclude group: "org.testng", module: "testng"
+ exclude group: "javax.servlet", module: "javax.servlet-api"
+ exclude group: "org.seleniumhq.selenium", module: "selenium-firefox-driver"
}
- testImplementation "org.seleniumhq.selenium:selenium-server:${versions.seleniumServer}", {
- exclude group: "org.eclipse.jetty"
- }
- testImplementation ("io.github.bonigarcia:webdrivermanager:2.2.4")
+ api "org.seleniumhq.selenium:selenium-java:${versions.seleniumServer}"
+ testImplementation ("io.github.bonigarcia:webdrivermanager:${versions.webdriverManager}")
}
jar.manifest {