That section is outdated and being redone for the next release.
The answer is both. Groovy and Kotlin are available in the current release, but Groovy was the first DSL and the user guide/docs are written around it. The Kotlin DSL is pretty far along and getting the docs/examples to show both Groovy and Kotlin are something we want to do.