Class PomTask
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- org.springframework.boot.experimental.gradle.PomTask
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
public class PomTask extends org.gradle.api.DefaultTaskTask to generate a pom file including all runtime dependencies.- Author:
- Andy Wilkinson, Dave Syer
-
-
Constructor Summary
Constructors Constructor Description PomTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerate()java.io.FilegetOutput()voidsetOutput(java.io.File output)Sets the location to which the properties file will be written.-
Methods inherited from class org.gradle.api.internal.AbstractTask
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
-
-
-
-
Method Detail
-
generate
public void generate()
-
setOutput
public void setOutput(java.io.File output)
Sets the location to which the properties file will be written. Defaults to META-INF in the compiled classes output (build/resources/main/META-INF/${project.group}/${project.name}).- Parameters:
output- the output location
-
getOutput
public java.io.File getOutput()
-
-