public class SpringBootPluginExtension extends Object
apply plugin: "spring-boot" springBoot { mainClass = 'org.demo.Application' layout = 'ZIP' }
Constructor and Description |
---|
SpringBootPluginExtension(org.gradle.api.Project project) |
Modifier and Type | Method and Description |
---|---|
void |
buildInfo() |
void |
buildInfo(groovy.lang.Closure<?> taskConfigurer) |
Layout |
convertLayout()
Convenience method for use in a custom task.
|
File |
getAgent() |
String |
getClassifier() |
String |
getCustomConfiguration() |
File |
getEmbeddedLaunchScript() |
Map<String,String> |
getEmbeddedLaunchScriptProperties() |
org.springframework.boot.gradle.SpringBootPluginExtension.LayoutType |
getLayout() |
String |
getMainClass() |
Boolean |
getNoverify() |
String |
getProvidedConfiguration() |
Set<String> |
getRequiresUnpack() |
boolean |
isApplyExcludeRules() |
boolean |
isBackupSource() |
boolean |
isExcludeDevtools() |
boolean |
isExecutable() |
void |
setAgent(File agent) |
void |
setApplyExcludeRules(boolean applyExcludeRules) |
void |
setBackupSource(boolean backupSource) |
void |
setClassifier(String classifier) |
void |
setCustomConfiguration(String customConfiguration) |
void |
setEmbeddedLaunchScript(File embeddedLaunchScript) |
void |
setEmbeddedLaunchScriptProperties(Map<String,String> embeddedLaunchScriptProperties) |
void |
setExcludeDevtools(boolean excludeDevtools) |
void |
setExecutable(boolean executable) |
void |
setLayout(org.springframework.boot.gradle.SpringBootPluginExtension.LayoutType layout) |
void |
setMainClass(String mainClass) |
void |
setNoverify(Boolean noverify) |
void |
setProvidedConfiguration(String providedConfiguration) |
void |
setRequiresUnpack(Set<String> requiresUnpack) |
public SpringBootPluginExtension(org.gradle.api.Project project)
public Layout convertLayout()
public String getMainClass()
public void setMainClass(String mainClass)
public String getClassifier()
public void setClassifier(String classifier)
public String getProvidedConfiguration()
public void setProvidedConfiguration(String providedConfiguration)
public String getCustomConfiguration()
public void setCustomConfiguration(String customConfiguration)
public boolean isBackupSource()
public void setBackupSource(boolean backupSource)
public org.springframework.boot.gradle.SpringBootPluginExtension.LayoutType getLayout()
public void setLayout(org.springframework.boot.gradle.SpringBootPluginExtension.LayoutType layout)
public boolean isExcludeDevtools()
public void setExcludeDevtools(boolean excludeDevtools)
public File getAgent()
public void setAgent(File agent)
public Boolean getNoverify()
public void setNoverify(Boolean noverify)
public boolean isApplyExcludeRules()
public void setApplyExcludeRules(boolean applyExcludeRules)
public boolean isExecutable()
public void setExecutable(boolean executable)
public File getEmbeddedLaunchScript()
public void setEmbeddedLaunchScript(File embeddedLaunchScript)
public void setEmbeddedLaunchScriptProperties(Map<String,String> embeddedLaunchScriptProperties)
public void buildInfo()
public void buildInfo(groovy.lang.Closure<?> taskConfigurer)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.