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.
|
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.
|
abstract org.gradle.api.file.ConfigurableFileCollection |
getClassPath()
Returns the class path to supply to the plugin engine.
|
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 |
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, getEntryPoint, getSuffix, getThreads, getTransformations, isExtendedParsing, isFailFast, isFailOnLiveInitializer, isWarnOnEmptyTypeSet, setEntryPoint, setExtendedParsing, setFailFast, setFailOnLiveInitializer, setSuffix, setThreads, setWarnOnEmptyTypeSet, 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 @InputDirectory public abstract DirectoryProperty getSource()
@OutputDirectory public abstract DirectoryProperty getTarget()
@InputFiles @CompileClasspath public abstract org.gradle.api.file.ConfigurableFileCollection getClassPath()
@Internal public IncrementalResolver getIncrementalResolver()
null if no incremental build should be applied.null if no incremental build should be applied.public void setIncrementalResolver(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.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 AbstractByteBuddyTaskpublic void apply(InputChanges inputChanges) throws java.io.IOException
inputChanges - The input changes to consider.java.io.IOException - If an I/O exception occurs.