public class ByteBuddySimpleTask extends AbstractByteBuddyTask
AbstractByteBuddyTask.GradleBuildLogger, AbstractByteBuddyTask.TransformationLogger| Constructor and Description |
|---|
ByteBuddySimpleTask()
Creates a new simple Byte Buddy task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Applies this task.
|
protected java.lang.Iterable<java.io.File> |
classPath()
Returns the class path to supply to the plugin engine.
|
java.lang.Iterable<java.io.File> |
getClassPath()
Returns the class path to supply to the plugin engine.
|
java.io.File |
getSource()
Returns the task's source folder.
|
java.io.File |
getTarget()
Returns the task's target folder.
|
void |
setClassPath(java.lang.Iterable<java.io.File> classPath)
Sets the class path to supply to the plugin engine.
|
void |
setSource(java.io.File source)
Sets the task's source folder.
|
void |
setTarget(java.io.File target)
Sets the task's target folder.
|
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@Inject public ByteBuddySimpleTask()
@InputDirectory public java.io.File getSource()
public void setSource(java.io.File source)
source - The task's source folder.@OutputDirectory public java.io.File getTarget()
public void setTarget(java.io.File target)
target - The task's target folder.@InputFiles @CompileClasspath public java.lang.Iterable<java.io.File> getClassPath()
public void setClassPath(java.lang.Iterable<java.io.File> classPath)
classPath - The class path to supply to the plugin engine.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()
throws java.io.IOException
java.io.IOException - If an I/O exception is thrown.