Example of includes in GroovyDoc Gradle task
<p>I have a Gradle project with Groovy and Java source files.
For one of the packages "com.myorg....dsl" I'd like to generate the documentation using the <code>GroovyDoc</code>.
The following is by groovy doc configuration in the gradle file</p>

<pre><code>groovydoc {
    groovyClasspath = project.configurations.jansi
    includes  = { "**/dsl/**" }
}
</code></pre>

<p>The intend of <a href="https://docs.gradle.org/current/dsl/org.gradle.api.tasks.javadoc.Groovydoc.html#org.gradle.api.tasks.javadoc.Groovydoc:includes" rel="nofollow">includes</a> property is to only generate the documentation for packages with name <em>dsl</em>. But I'm not using the syntax right as the gradle script is failing.</p>

<p>Any example on the correct usage of <code>includes</code> is greatly appreciated. </p>