|
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' and 'publish' task.
For 'release', it uses the 'releaseMaster' configuration and configure the
uploadReleaseMaster
task with the following repositories
For 'publish', it uses the 'publishMaster' configuration and configure the
uploadPublishMaster
task with the following repositories
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