JvmLanguageSourceDirectoryBuilder
@Incubating public interface JvmLanguageGeneratedSourceDirectoryBuilder extends JvmLanguageSourceDirectoryBuilder
JvmLanguageSourceDirectoryBuilder.CompileTaskDetails
Modifier and Type | Method | Description |
---|---|---|
<T extends Task> |
forSourceGeneratingTask(TaskProvider<T> taskProvider,
Function<T,DirectoryProperty> mapping) |
Registers a source generation task
|
compiledBy, compiledWithJava, includeInAllJava, withDescription
<T extends Task> JvmLanguageGeneratedSourceDirectoryBuilder forSourceGeneratingTask(TaskProvider<T> taskProvider, Function<T,DirectoryProperty> mapping)
T
- the type of the source generation tasktaskProvider
- the task which generates sourcesmapping
- a function which returns the sources output directory generated by this task