public interface RoutesSourceSet
The following example demonstrate the use of the source set in a build script using the Groovy DSL:
sourceSets { main { routes { srcDir 'extra/more' } } }
Modifier and Type | Method and Description |
---|---|
SourceDirectorySet |
getRoutes()
Returns the source directory set.
|
RoutesSourceSet |
routes(Action<? super SourceDirectorySet> configureAction)
Configures the source set.
|
SourceDirectorySet getRoutes()
RoutesSourceSet routes(Action<? super SourceDirectorySet> configureAction)
configureAction
- The configuration action