|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linkedin.gradle.plugins.ReleasePlugin
class ReleasePlugin
This plugin adds a 'release' task and creates a 'releaseMaster' configuration. This plugin also adds a 'publish' taks and creates a 'publishMaster' configuration (extends from releaseMaster) . If you want your artifacts to be 'released'/'published' then simply add them to a configuration and make masterRelease extends from it.
Field Summary | |
---|---|
static java.lang.String |
PUBLISH_MASTER_CONFIGURATION
|
static java.lang.String |
RELEASE_MASTER_CONFIGURATION
|
Method Summary | |
---|---|
static java.lang.Object
|
addExtendsFrom(Project project, java.lang.String configurationName, java.lang.String extendsFromConfigurationName)
Equivalent to |
static Configuration
|
addToReleaseMaster(Project project, java.lang.String configuration)
Needs to be executed after the build script has been evaluated |
void
|
apply(Project project)
|
static Configuration
|
findOrAddConfiguration(Project project, java.lang.String configurationName)
Find or add a configuration if does not exist yet |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static final java.lang.String PUBLISH_MASTER_CONFIGURATION
public static final java.lang.String RELEASE_MASTER_CONFIGURATION
Method Detail |
---|
static java.lang.Object addExtendsFrom(Project project, java.lang.String configurationName, java.lang.String extendsFromConfigurationName)
configuration.extendsFrom(extendsFromConfiguration)
but do proper
checking to create the configuration if does not exist in the first place.
static Configuration addToReleaseMaster(Project project, java.lang.String configuration)
void apply(Project project)
static Configuration findOrAddConfiguration(Project project, java.lang.String configurationName)
Groovy Documentation