public abstract class UserBasePlugin<T extends UserExtension> extends BasePlugin<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
useLocalCache
A boolean used to cache the output of useLocalCache;
|
otherPlugin, project| Constructor and Description |
|---|
UserBasePlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAtsToDeobf() |
protected void |
afterEvaluate() |
void |
applyPlugin() |
protected abstract void |
applyUserPlugin() |
protected void |
configureCompilation()
Creates the api SourceSet and configures the classpaths of all the SourceSets to have MC and the MC deps in them.
|
protected void |
createSourceCopyTasks()
Creates and partially configures the source replacement tasks.
|
protected void |
mapConfigurations() |
protected void |
tasksClient(java.lang.String globalPattern,
java.lang.String localPattern,
java.lang.String taskSuffix) |
protected void |
tasksMerged(java.lang.String globalPattern,
java.lang.String localPattern,
java.lang.String taskSuffix) |
protected void |
tasksServer(java.lang.String globalPattern,
java.lang.String localPattern,
java.lang.String taskSuffix) |
protected boolean |
useLocalCache(T extension)
This method is called sufficiently late.
|
addFlatRepo, addMavenRepo, apply, applyExternalPlugin, applyOverlayPlugin, buildProject, cacheFile, canOverlayPlugin, delayedFile, delayedString, delayedTree, getExtension, getOverlayExtension, getWithEtag, makeTask, makeTask, makeTask, maybeMakeTask, maybeMakeTask, maybeMakeTask, parseAndStoreVersion, parseAndStoreVersionprotected boolean useLocalCache
useLocalCachepublic final void applyPlugin()
applyPlugin in class BasePlugin<T extends UserExtension>protected void afterEvaluate()
afterEvaluate in class BasePlugin<T extends UserExtension>protected abstract void applyUserPlugin()
protected void tasksClient(java.lang.String globalPattern,
java.lang.String localPattern,
java.lang.String taskSuffix)
protected void tasksServer(java.lang.String globalPattern,
java.lang.String localPattern,
java.lang.String taskSuffix)
protected void tasksMerged(java.lang.String globalPattern,
java.lang.String localPattern,
java.lang.String taskSuffix)
protected boolean useLocalCache(T extension)
extension - The extension object of this pluginprotected void configureCompilation()
protected void createSourceCopyTasks()
protected void mapConfigurations()
protected void addAtsToDeobf()