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 f90d30e4 use later gradle syntax
f90d30e4 is described below

commit f90d30e4d1a2d1e5b28ae94c1a47ea27464e53db
Author: Paul King <[email protected]>
AuthorDate: Sun Dec 15 17:44:05 2024 +1000

    use later gradle syntax
    
    'select' needs to be defined as its own sourceSet for Gradle 9
---
 module/geb-core/geb-core.gradle | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/module/geb-core/geb-core.gradle b/module/geb-core/geb-core.gradle
index 707e3848..71241a53 100644
--- a/module/geb-core/geb-core.gradle
+++ b/module/geb-core/geb-core.gradle
@@ -29,9 +29,17 @@ plugins {
     id 'geb.all-sources-configuration'
 }
 
+sourceSets {
+    select {
+        setCompileClasspath(main.compileClasspath)
+        setRuntimeClasspath(main.runtimeClasspath)
+        allSource.source(main.allSource)
+    }
+}
+
 java {
     registerFeature('select') {
-        usingSourceSet(sourceSets.main)
+        usingSourceSet(sourceSets.select)
     }
 }
 
@@ -42,10 +50,11 @@ dependencies {
     api project(":module:geb-waiting")
     api libs.threeTen.extra
 
-    implementation(libs.jodd.core)
-    implementation(libs.jodd.lagarto)
+    implementation libs.jodd.core
+    implementation libs.jodd.lagarto
 
-    selectImplementation(libs.selenium.support)
+    implementation libs.guava
+    implementation libs.selenium.support
 
     testImplementation libs.cglib
     testImplementation libs.jsoup

Reply via email to