Package org.gradle.api.plugins.antlr
Interface AntlrSourceVirtualDirectory
public interface 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
source
sets
.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the Antlr source for this set.antlr
(Action<? super SourceDirectorySet> configureAction) Configures the Antlr source for this set.getAntlr()
All Antlr source for this source set.
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getAntlr
SourceDirectorySet getAntlr()All Antlr source for this source set.- Returns:
- The Antlr source. Never returns null.
-
antlr
Configures the Antlr source for this set. The given closure is used to configure theSourceDirectorySet
(seegetAntlr()
) which contains the Antlr source.- Parameters:
configureClosure
- The closure to use to configure the Antlr source.- Returns:
- this
-
antlr
Configures the Antlr source for this set. The given action is used to configure theSourceDirectorySet
(seegetAntlr()
) which contains the Antlr source.- Parameters:
configureAction
- The action to use to configure the Antlr source.- Returns:
- this
- Since:
- 3.5
-