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 |
addEclipseRuns()
Creates task that generate the eclipse run configs and attaches them to the eclipse task.
|
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 |
configureIntellij()
Adds the intellij run configs and makes a few other tweaks to the intellij project creation
|
protected void |
createSourceCopyTasks()
Creates and partially configures the source replacement tasks.
|
void |
injectIntellijRuns(org.w3c.dom.Document doc,
java.lang.String module) |
protected void |
mapConfigurations() |
protected void |
tasksClient(java.lang.String globalPattern,
java.lang.String localPattern) |
protected void |
tasksMerged(java.lang.String globalPattern,
java.lang.String localPattern) |
protected void |
tasksServer(java.lang.String globalPattern,
java.lang.String localPattern) |
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)
protected void tasksServer(java.lang.String globalPattern,
java.lang.String localPattern)
protected void tasksMerged(java.lang.String globalPattern,
java.lang.String localPattern)
protected boolean useLocalCache(T extension)
extension - The extension object of this pluginprotected void configureCompilation()
protected void createSourceCopyTasks()
protected void mapConfigurations()
protected void addAtsToDeobf()
protected void addEclipseRuns()
protected void configureIntellij()
public final void injectIntellijRuns(org.w3c.dom.Document doc,
java.lang.String module)
throws org.w3c.dom.DOMException,
java.io.IOException
org.w3c.dom.DOMExceptionjava.io.IOException