| API Documentation: | ScalaSourceSet |
|---|
A ScalaSourceSetConvention defines the properties and methods added to a SourceSet by the ScalaPlugin.
| Method | Description |
scala(configureAction) | Configures the Scala source for this set. |
| Block | Description |
scala | Configures the Scala source for this set. |
SourceDirectorySet allScala (read-only)
All Scala source for this source set.
- Default with
scalaplugin: [scala]
SourceDirectorySet scala (read-only)
The source to be compiled by the Scala compiler for this source set. This may contain both Java and Scala source files.
- Default with
scalaplugin: [${project.projectDir}/src/${sourceSet.name}/scala]
ScalaSourceSet scala(Action<? super SourceDirectorySet> configureAction)
Action<? super SourceDirectorySet>Configures the Scala source for this set.
The given action is used to configure the SourceDirectorySet which contains the Scala source.
Configures the Scala source for this set.
The given closure is used to configure the SourceDirectorySet which contains the Scala source.
- Delegates to:
SourceDirectorySetfromscala