public class BuildPluginDescriptorTask
extends org.gradle.api.DefaultTask
Constructor and Description |
---|
BuildPluginDescriptorTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendDependencyElements(org.w3c.dom.Document doc,
org.w3c.dom.Element dependenciesEl,
java.lang.String configurationName,
java.lang.String scope) |
void |
buildPluginDescriptor() |
protected void |
buildPluginDescriptor(java.io.File pomFile) |
protected void |
buildPomFile(java.io.File pomFile,
java.io.File sourceDir) |
void |
configurationScopeMapping(java.lang.String configurationName,
java.lang.String scope) |
java.io.File |
getClassesDir() |
protected java.lang.String |
getComments(com.thoughtworks.qdox.model.JavaMethod javaMethod) |
java.util.Map<java.lang.String,java.lang.String> |
getConfigurationScopeMappings() |
java.lang.String |
getMavenExecutable() |
java.lang.String |
getMavenVersion() |
java.io.File |
getOutputDir() |
java.lang.String |
getPomArtifactId() |
java.lang.String |
getPomGroupId() |
java.lang.String |
getPomVersion() |
java.io.File |
getSourceDir() |
boolean |
isUseSetterComments() |
protected void |
prepareSource(com.thoughtworks.qdox.model.JavaClass javaClass) |
protected void |
prepareSources(java.io.File preparedSourceDir) |
void |
setClassesDir(java.lang.Object classesDir) |
void |
setMavenExecutable(java.lang.Object mavenExecutable) |
void |
setMavenVersion(java.lang.Object mavenVersion) |
void |
setOutputDir(java.lang.Object outputDir) |
void |
setPomArtifactId(java.lang.Object pomArtifactId) |
void |
setPomGroupId(java.lang.Object pomGroupId) |
void |
setPomVersion(java.lang.Object pomVersion) |
void |
setSourceDir(java.lang.Object sourceDir) |
void |
setUseSetterComments(boolean useSetterComments) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
public void buildPluginDescriptor()
public void configurationScopeMapping(java.lang.String configurationName, java.lang.String scope)
@InputDirectory public java.io.File getClassesDir()
public java.util.Map<java.lang.String,java.lang.String> getConfigurationScopeMappings()
@Input public java.lang.String getMavenExecutable()
@Input public java.lang.String getMavenVersion()
@OutputDirectory public java.io.File getOutputDir()
@Input public java.lang.String getPomArtifactId()
@Input public java.lang.String getPomGroupId()
@Input public java.lang.String getPomVersion()
@InputDirectory public java.io.File getSourceDir()
@Input public boolean isUseSetterComments()
public void setClassesDir(java.lang.Object classesDir)
public void setMavenExecutable(java.lang.Object mavenExecutable)
public void setMavenVersion(java.lang.Object mavenVersion)
public void setOutputDir(java.lang.Object outputDir)
public void setPomArtifactId(java.lang.Object pomArtifactId)
public void setPomGroupId(java.lang.Object pomGroupId)
public void setPomVersion(java.lang.Object pomVersion)
public void setSourceDir(java.lang.Object sourceDir)
public void setUseSetterComments(boolean useSetterComments)
protected void appendDependencyElements(org.w3c.dom.Document doc, org.w3c.dom.Element dependenciesEl, java.lang.String configurationName, java.lang.String scope)
protected void buildPluginDescriptor(java.io.File pomFile) throws java.lang.Exception
java.lang.Exception
protected void buildPomFile(java.io.File pomFile, java.io.File sourceDir) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getComments(com.thoughtworks.qdox.model.JavaMethod javaMethod)
protected void prepareSource(com.thoughtworks.qdox.model.JavaClass javaClass) throws java.lang.Exception
java.lang.Exception
protected void prepareSources(java.io.File preparedSourceDir) throws java.lang.Exception
java.lang.Exception