public class ByteBuddyTaskExtension extends AbstractByteBuddyTaskExtension<ByteBuddyTask>
| Constructor and Description |
|---|
ByteBuddyTaskExtension(org.gradle.api.Project project)
Creates a new Byte Buddy task extension.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConfigure(ByteBuddyTask task)
Applies any extension-specific properties.
|
org.gradle.api.file.FileCollection |
getDiscoverySet()
Returns the source set to resolve plugin names from or
null if no such source set is used. |
IncrementalResolver |
getIncrementalResolver()
Returns the incremental builder to apply or
null if no incremental build should be applied. |
boolean |
isIncrementalClassPath()
Returns
true if the class path should be considered incremental. |
void |
setDiscoverySet(org.gradle.api.file.FileCollection discoverySet)
Defines the source set to resolve plugin names from or
null if no such source set is used. |
void |
setIncrementalClassPath(boolean incrementalClassPath)
Sets the class path to be incremental or non-incremental.
|
void |
setIncrementalResolver(IncrementalResolver incrementalResolver)
Sets the incremental builder to apply or
null if no incremental build should be applied. |
protected java.lang.Class<? extends ByteBuddyTask> |
toType()
Returns the type of the Byte Buddy task.
|
configure, getAdjustment, getAdjustmentErrorHandler, getAdjustmentPostProcessor, getClassFileVersion, getDiscovery, getEntryPoint, getSuffix, getThreads, getTransformations, isExtendedParsing, isFailFast, isFailOnLiveInitializer, isLazy, isWarnOnEmptyTypeSet, resolve, setAdjustment, setAdjustmentErrorHandler, setAdjustmentPostProcessor, setClassFileVersion, setDiscovery, setEntryPoint, setExtendedParsing, setFailFast, setFailOnLiveInitializer, setLazy, setSuffix, setThreads, setWarnOnEmptyTypeSet, transformation, transformation@Inject
public ByteBuddyTaskExtension(@UnknownNull
org.gradle.api.Project project)
project - The current Gradle project.@MaybeNull public IncrementalResolver getIncrementalResolver()
null if no incremental build should be applied.null if no incremental build should be applied.public void setIncrementalResolver(@MaybeNull
IncrementalResolver incrementalResolver)
null if no incremental build should be applied.incrementalResolver - The incremental builder to apply or null if no incremental build should be applied.public boolean isIncrementalClassPath()
true if the class path should be considered incremental. By default, the class path
is considered non-incremental where all classes are retransformed if the class path changes.true if the class path should be considered incremental.public void setIncrementalClassPath(boolean incrementalClassPath)
incrementalClassPath - true if the class path is to be considered incremental.@MaybeNull public org.gradle.api.file.FileCollection getDiscoverySet()
null if no such source set is used.null if no such source set is used.public void setDiscoverySet(@MaybeNull
org.gradle.api.file.FileCollection discoverySet)
null if no such source set is used.discoverySet - The source set to resolve plugin names from or null if no such source set is used.protected void doConfigure(ByteBuddyTask task)
AbstractByteBuddyTaskExtensiondoConfigure in class AbstractByteBuddyTaskExtension<ByteBuddyTask>task - The task to configure.protected java.lang.Class<? extends ByteBuddyTask> toType()
AbstractByteBuddyTaskExtensiontoType in class AbstractByteBuddyTaskExtension<ByteBuddyTask>