Vampire commented on code in PR #277:
URL: https://github.com/apache/groovy-geb/pull/277#discussion_r2167577796
##########
doc/manual/src/docs/asciidoc/120-build-integrations.adoc:
##########
@@ -10,37 +10,88 @@ Using Geb with Gradle simply involves pulling in the
appropriate dependencies, a
Below is a valid Gradle `build.gradle` file for working with Geb for testing.
-[source,groovy,subs="attributes"]
+[tabs]
+====
+Kotlin::
++
+[source,kotlin,subs="+attributes"]
----
-apply plugin: "groovy"
+plugins {
+ groovy
+}
repositories {
mavenCentral()
}
-ext {
- gebVersion = "{geb-version}"
- seleniumVersion = "{selenium-version}"
-}
+val gebVersion = "{geb-version}"
+val seleniumVersion = "{selenium-version}"
+
+testing {
+ val test by suites.existing(JvmTestSuite::class) {
+ useSpock("2.3-groovy-4.0")
Review Comment:
Yeah, definitely.
Afair I did it in an actual build to know it works as intended, then copied
it over and filled in the placeholders and obviously just missed that one,
thanks for spotting.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]