public static class ByteBuddyPlugin.Dispatcher.ForApi6CapableGradle extends java.lang.Object implements ByteBuddyPlugin.Dispatcher<ByteBuddyTask,ByteBuddyTaskExtension>
ByteBuddyPlugin.Dispatcher.ForApi6CapableGradle, ByteBuddyPlugin.Dispatcher.ForLegacyGradle| Modifier | Constructor and Description |
|---|---|
protected |
ForApi6CapableGradle(java.lang.reflect.Method getDestinationDirectory,
java.lang.reflect.Method setDestinationDir)
Creates a new dispatcher for a Gradle version of at least 6.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<ByteBuddyTaskExtension> |
getExtensionType()
Returns the Byte Buddy extension type.
|
ByteBuddyTaskConfiguration |
toAction(java.lang.String name,
org.gradle.api.tasks.SourceSet sourceSet)
Creates a Byte Buddy task configuration.
|
ByteBuddyTaskExtension |
toExtension(org.gradle.api.Project project)
Creates a Byte Buddy extension instance.
|
protected ForApi6CapableGradle(java.lang.reflect.Method getDestinationDirectory,
java.lang.reflect.Method setDestinationDir)
getDestinationDirectory - The org.gradle.api.file.SourceSetDirectory#getDestinationDirectory method.setDestinationDir - The org.gradle.api.tasks.compile.AbstractCompile#setDestinationDir method.public java.lang.Class<ByteBuddyTaskExtension> getExtensionType()
getExtensionType in interface ByteBuddyPlugin.Dispatcher<ByteBuddyTask,ByteBuddyTaskExtension>public ByteBuddyTaskExtension toExtension(org.gradle.api.Project project)
toExtension in interface ByteBuddyPlugin.Dispatcher<ByteBuddyTask,ByteBuddyTaskExtension>project - The current Gradle project.public ByteBuddyTaskConfiguration toAction(java.lang.String name, org.gradle.api.tasks.SourceSet sourceSet)
toAction in interface ByteBuddyPlugin.Dispatcher<ByteBuddyTask,ByteBuddyTaskExtension>name - The name of the task.sourceSet - The source set being configured.