This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git


The following commit(s) were added to refs/heads/master by this push:
     new 59c64ef7 remove gradle warning: The automatic loading of test 
framework implementation dependencies has been deprecated.
59c64ef7 is described below

commit 59c64ef787cd555955d879abe28d8b55f59d19e6
Author: Paul King <[email protected]>
AuthorDate: Sun Dec 15 21:56:42 2024 +1000

    remove gradle warning:
    The automatic loading of test framework implementation dependencies has 
been deprecated.
---
 integration/geb-gradle/geb-gradle.gradle  | 1 +
 internal/test-support/test-support.gradle | 1 +
 module/geb-core/geb-core.gradle           | 1 +
 module/geb-junit5/geb-junit5.gradle       | 2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/integration/geb-gradle/geb-gradle.gradle 
b/integration/geb-gradle/geb-gradle.gradle
index af8283cc..a05edb43 100644
--- a/integration/geb-gradle/geb-gradle.gradle
+++ b/integration/geb-gradle/geb-gradle.gradle
@@ -31,6 +31,7 @@ dependencies {
     implementation gradleApi()
 
     implementation libs.guava
+    testRuntimeOnly libs.junit.platform.launcher
 
     codenarc libs.codenarc, {
         exclude module: "GMetrics"
diff --git a/internal/test-support/test-support.gradle 
b/internal/test-support/test-support.gradle
index 320ccd29..fa0ca1c0 100644
--- a/internal/test-support/test-support.gradle
+++ b/internal/test-support/test-support.gradle
@@ -31,4 +31,5 @@ dependencies {
 
     implementation libs.testcontainers.selenium
     implementation libs.jetty.server
+    testRuntimeOnly libs.junit.platform.launcher
 }
\ No newline at end of file
diff --git a/module/geb-core/geb-core.gradle b/module/geb-core/geb-core.gradle
index 027d7073..21ddb8f5 100644
--- a/module/geb-core/geb-core.gradle
+++ b/module/geb-core/geb-core.gradle
@@ -56,6 +56,7 @@ dependencies {
     testImplementation libs.jsoup
     testImplementation libs.ratpack.test
     testImplementation project(":internal:test-support-spock")
+    testRuntimeOnly libs.junit.platform.launcher
 
     sauceConnect libs.sauceConnect
 }
diff --git a/module/geb-junit5/geb-junit5.gradle 
b/module/geb-junit5/geb-junit5.gradle
index 56bf9da8..afb9e1ea 100644
--- a/module/geb-junit5/geb-junit5.gradle
+++ b/module/geb-junit5/geb-junit5.gradle
@@ -25,11 +25,11 @@ dependencies {
 
     implementation project(":module:geb-junit")
 
+    testImplementation libs.junit.platform.launcher
     testImplementation libs.junit5.jupiter.params
     testImplementation libs.jsoup
 
     testRuntimeOnly libs.junit5.jupiter.engine
-    testRuntimeOnly libs.junit.platform.launcher
 }
 
 publishing.publications.main.pom {

Reply via email to