@Incubating public static interface JvmLanguageSourceDirectoryBuilder.CompileTaskDetails
Modifier and Type | Method | Description |
---|---|---|
DirectoryProperty |
getSourceDirectory() |
Returns the source directory of the compile task: this is the directory
registered automatically by Gradle when constructing the source directory set.
|
<T extends Task> |
setCompileTask(TaskProvider<? extends Task> task,
Function<T,DirectoryProperty> mapping) |
Sets the compile task for this source directory.
|
DirectoryProperty getSourceDirectory()
<T extends Task> void setCompileTask(TaskProvider<? extends Task> task, Function<T,DirectoryProperty> mapping)
AbstractCompile.getDestinationDirectory()
.T
- the type of the compile tasktask
- a compilation taskmapping
- the mapping from the task to its classes output directory