public abstract class ByteBuddyTask extends AbstractByteBuddyTask
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ByteBuddyTask.IncrementalSource
A source for an incrementally changed source folder.
|
static class |
ByteBuddyTask.WithIncrementalClassPath
A Byte Buddy task with an incremental class path.
|
AbstractByteBuddyTask.ByteBuddySkippingUrlClassLoader, AbstractByteBuddyTask.GradleBuildLogger, AbstractByteBuddyTask.TransformationLogger| Constructor and Description |
|---|
ByteBuddyTask()
Creates a new Byte Buddy task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(InputChanges inputChanges)
Applies this task.
|
protected java.lang.Iterable<java.io.File> |
classPath()
Returns the class path to supply to the plugin engine.
|
protected java.lang.Iterable<java.io.File> |
discoverySet()
Returns the discovery class path or
null if not specified. |
abstract org.gradle.api.file.ConfigurableFileCollection |
getClassPath()
Returns the class path to supply to the plugin engine.
|
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. |
abstract DirectoryProperty |
getSource()
Returns the source directory.
|
abstract DirectoryProperty |
getTarget()
Returns the target directory.
|
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 |
setIncrementalResolver(IncrementalResolver incrementalResolver)
Sets the incremental builder to apply or
null if no incremental build should be applied. |
protected java.io.File |
source()
Returns the source file or folder.
|
protected java.io.File |
target()
Returns the target file or folder.
|
doApply, getClassFileVersion, getDiscovery, getEntryPoint, getSuffix, getThreads, getTransformations, isExtendedParsing, isFailFast, isFailOnLiveInitializer, isWarnOnEmptyTypeSet, setClassFileVersion, setDiscovery, setEntryPoint, setExtendedParsing, setFailFast, setFailOnLiveInitializer, setSuffix, setThreads, setWarnOnEmptyTypeSet, transformation, transformationappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getSharedResources, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, requiresResource, requiresResource, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Incremental @InputFiles @PathSensitive(value=RELATIVE) public abstract DirectoryProperty getSource()
@OutputDirectory public abstract DirectoryProperty getTarget()
@InputFiles @CompileClasspath public abstract org.gradle.api.file.ConfigurableFileCollection getClassPath()
@Internal @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.@MaybeNull @Input @Optional 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 java.io.File source()
AbstractByteBuddyTasksource in class AbstractByteBuddyTaskprotected java.io.File target()
AbstractByteBuddyTasktarget in class AbstractByteBuddyTaskprotected java.lang.Iterable<java.io.File> classPath()
AbstractByteBuddyTaskclassPath in class AbstractByteBuddyTask@MaybeNull protected java.lang.Iterable<java.io.File> discoverySet()
AbstractByteBuddyTasknull if not specified.discoverySet in class AbstractByteBuddyTasknull if not specified.public void apply(InputChanges inputChanges) throws java.io.IOException
inputChanges - The input changes to consider.java.io.IOException - If an I/O exception occurs.