api / org.gradle.api.plugins.antlr / AntlrSourceVirtualDirectory / antlr

antlr

abstract fun antlr(configureClosure: Closure<Any>): AntlrSourceVirtualDirectory

Configures the Antlr source for this set. The given closure is used to configure the org.gradle.api.file.SourceDirectorySet (see #getAntlr) which contains the Antlr source.

Parameters

configureClosure - The closure to use to configure the Antlr source.

Return
this

abstract fun antlr(configureAction: Action<in SourceDirectorySet>): AntlrSourceVirtualDirectory

Configures the Antlr source for this set. The given action is used to configure the org.gradle.api.file.SourceDirectorySet (see #getAntlr) which contains the Antlr source.

Parameters

configureAction - The action to use to configure the Antlr source.

Return
this

Since
3.5