T - The Byte Buddy task type.S - The Byte Buddy extension type.public abstract class AbstractByteBuddyTaskConfiguration<T extends AbstractByteBuddyTask,S extends AbstractByteBuddyTaskExtension<T>>
extends java.lang.Object
implements org.gradle.api.Action<org.gradle.api.Project>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractByteBuddyTaskConfiguration.TaskExecutionGraphAdjustmentAction
An action to adjust the task execution graph to depend on the injected Byte Buddy task if a task
depends on the compile task that is being enhanced.
|
protected static class |
AbstractByteBuddyTaskConfiguration.TaskExecutionGraphClosure
A closure to execute an action on the
TaskExecutionGraph. |
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
RAW_FOLDER
The relative path to the raw folder.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractByteBuddyTaskConfiguration(java.lang.String name,
org.gradle.api.tasks.SourceSet sourceSet)
Creates a new abstract Byte Buddy task configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
configureDirectories(org.gradle.api.file.SourceDirectorySet source,
org.gradle.api.tasks.compile.JavaCompile compileTask,
T byteBuddyTask)
Configures the directories of the compile and Byte Buddy tasks.
|
void |
execute(org.gradle.api.Project project) |
protected static final java.lang.String RAW_FOLDER
protected AbstractByteBuddyTaskConfiguration(java.lang.String name,
org.gradle.api.tasks.SourceSet sourceSet)
name - The name of the task.sourceSet - The source set for which the task chain is being configured.public void execute(org.gradle.api.Project project)
execute in interface org.gradle.api.Action<org.gradle.api.Project>protected abstract void configureDirectories(org.gradle.api.file.SourceDirectorySet source,
org.gradle.api.tasks.compile.JavaCompile compileTask,
T byteBuddyTask)
source - The source directory set.compileTask - The compile task.byteBuddyTask - The Byte Buddy task.