| API Documentation: | AntlrSourceVirtualDirectory |
|---|
Contract for a Gradle "convention object" that acts as a handler for what I call a virtual directory mapping,
injecting a virtual directory named 'antlr' into the project's various SourceSet.
| Property | Description |
antlr | All Antlr source for this source set. |
| Method | Description |
antlr(configureAction) | Configures the Antlr source for this set. The given action is used to configure the |
| Block | Description |
antlr | Configures the Antlr source for this set. The given closure is used to configure the |
SourceDirectorySet antlr (read-only)
All Antlr source for this source set.
- Default with
antlrplugin: [${project.projectDir}/src/${sourceSet.name}/antlr]
AntlrSourceVirtualDirectory antlr(Action<? super SourceDirectorySet> configureAction)
Action<? super SourceDirectorySet>Configures the Antlr source for this set. The given action is used to configure the SourceDirectorySet (see
AntlrSourceVirtualDirectory.getAntlr()) which contains the Antlr source.
Configures the Antlr source for this set. The given closure is used to configure the SourceDirectorySet (see
AntlrSourceVirtualDirectory.getAntlr()) which contains the Antlr source.
- Delegates to:
SourceDirectorySetfromantlr