public class ProcessSrcJarTask extends EditJarTask
CachedTask.Cached, CachedTask.ExcludedinJar, outJar, resourceMap, sourceMap| Constructor and Description |
|---|
ProcessSrcJarTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStage(java.lang.String name,
DelayedFile patchDir) |
void |
addStage(java.lang.String name,
DelayedFile patchDir,
DelayedFile... injects) |
void |
applyPatchStage(java.lang.String stage,
org.gradle.api.file.FileCollection patchFiles) |
java.lang.String |
asRead(java.lang.String file) |
void |
doStuffAfter()
Do Stuff after the jar is Written
|
void |
doStuffBefore()
Do Stuff before the jar is read
|
void |
doStuffMiddle()
Do Stuff after the jar is read, but before it is written.
|
org.gradle.api.file.FileCollection |
getAllInjects() |
org.gradle.api.file.FileCollection |
getAllPatches() |
int |
getMaxFuzz() |
void |
setMaxFuzz(int maxFuzz) |
doTask, getInJar, getOutJar, getResourceMap, getSourceMap, setInJar, setOutJar, setResourceMap, setSourceMapdefaultCache, doesCache, setDoesCachecompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectspublic java.lang.String asRead(java.lang.String file)
asRead in class EditJarTaskpublic void doStuffBefore()
EditJarTaskdoStuffBefore in class EditJarTaskpublic void doStuffMiddle()
throws java.lang.Exception
EditJarTaskdoStuffMiddle in class EditJarTaskjava.lang.Exception - for conveniencepublic void applyPatchStage(java.lang.String stage,
org.gradle.api.file.FileCollection patchFiles)
throws java.lang.Exception
java.lang.Exception@InputFiles public org.gradle.api.file.FileCollection getAllPatches()
@InputFiles public org.gradle.api.file.FileCollection getAllInjects()
public void addStage(java.lang.String name,
DelayedFile patchDir,
DelayedFile... injects)
public void addStage(java.lang.String name,
DelayedFile patchDir)
public void doStuffAfter()
EditJarTaskdoStuffAfter in class EditJarTaskpublic int getMaxFuzz()
public void setMaxFuzz(int maxFuzz)