@Deprecated
public interface ScalaSourceSet
ScalaSourceDirectorySet
extension (e.g.
sourceSet.getExtensions().getByType(ScalaSourceDirectorySet.class).setSrcDirs(...)
). This interface is scheduled for removal in Gradle 9.0.Modifier and Type | Method | Description |
---|---|---|
SourceDirectorySet |
getAllScala() |
Deprecated.
All Scala source for this source set.
|
SourceDirectorySet |
getScala() |
Deprecated.
Returns the source to be compiled by the Scala compiler for this source set.
|
ScalaSourceSet |
scala(Closure configureClosure) |
Deprecated.
Configures the Scala source for this set.
|
ScalaSourceSet |
scala(Action<? super SourceDirectorySet> configureAction) |
Deprecated.
Configures the Scala source for this set.
|
SourceDirectorySet getScala()
ScalaSourceSet scala(@DelegatesTo(SourceDirectorySet.class) 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()