public interface ScalaSourceSet
ScalaSourceSetConvention
defines the properties and methods added to a SourceSet
by the ScalaPlugin
.Modifier and Type | Method | Description |
---|---|---|
SourceDirectorySet |
getAllScala() |
All Scala source for this source set.
|
SourceDirectorySet |
getScala() |
Returns the source to be compiled by the Scala compiler for this source set.
|
ScalaSourceSet |
scala(Closure configureClosure) |
Configures the Scala source for this set.
|
ScalaSourceSet |
scala(Action<? super SourceDirectorySet> configureAction) |
Configures the Scala source for this set.
|
SourceDirectorySet getScala()
ScalaSourceSet scala(Closure configureClosure)
The given closure is used to configure the SourceDirectorySet
which contains the Scala source.
configureClosure
- The closure to use to configure the Scala source.ScalaSourceSet scala(Action<? super SourceDirectorySet> configureAction)
The given action is used to configure the SourceDirectorySet
which contains the Scala source.
configureAction
- The action to use to configure the Scala source.SourceDirectorySet getAllScala()