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. |
All Scala source for this source set.
- Default with
scala
plugin: [scala]
The source to be compiled by the Scala compiler for this source set. This may contain both Java and Scala source files.
- Default with
scala
plugin: [
${project.projectDir}
/src/${sourceSet.name}
/scala]
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:
SourceDirectorySet
fromscala