DSL support to allow build scripts to configure the repos to be used for fetching dependencies and publishing artifacts produced by the build.
| Constructor and description |
|---|
RepoManagement
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
ctiPrivate(java.util.Map props)Add a CTI Private repo configuration accepting a map of configuration properties. |
|
void |
ctiPublic(java.util.Map props)Add a CTI Public repo configuration accepting a map of configuration properties. |
|
void |
di2eCentral(java.util.Map props)Add a DI2E Central configuration accepting a map of configuration properties. |
|
void |
di2ePrivate(java.util.Map props)Add a DI2E private repo configuration accepting a map of configuration properties. |
|
void |
di2eRaptorx(java.util.Map props)Add a DI2E RaptorX configuration accepting a map of configuration properties. |
|
java.util.List<RepoConfig> |
getPublishingRepoConfigs()@return All repo configurations where 'publish' is set true |
|
java.util.List<RepoConfig> |
getRepoConfigs()@return All repo configurations |
|
boolean |
isNoMavenLocal()@return true if the noMavenLocal() configuration has been specified |
|
void |
noMavenLocal()Disallow the use of maven local for dependency resolution. |
|
void |
raptorx(java.util.Map props)Retained for backward compatibility. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Add a CTI Private repo configuration accepting a map of configuration properties. Supported properties are:
name - The name/tag of the repo. This is used to determine repo URLspublish - boolean value, true if publishing should be configured for this repo, default falseusername - (optional) specify a username for this repopassword - (optional) specify a password for this repoprops - Configuration propertiesAdd a CTI Public repo configuration accepting a map of configuration properties. Supported properties are:
name - The name/tag of the repo. This is used to determine repo URLspublish - boolean value, true if publishing should be configured for this repo, default falseusername - (optional) specify a username for this repopassword - (optional) specify a password for this repopublicRepoUsername and
publicRepoPassword. The environment variables used are CTI_PUBLIC_NEXUS_USERNAME and
CTI_PUBLIC_NEXUS_PASSWORD.
props - Configuration propertiesAdd a DI2E Central configuration accepting a map of configuration properties. Supported properties are:
username - (optional) specify a username for this repopassword - (optional) specify a password for this repodi2eRepoUsername and di2eRepoPassword.
The environment variables DI2E_NEXUS_USERNAME and DI2E_NEXUS_PASSWORD can be used to specify
the repo access credentials.
props - Configuration propertiesAdd a DI2E private repo configuration accepting a map of configuration properties. Supported properties are:
name - The name/tag of the repo. This is used to determine repo URLs and credentialspublish - boolean value, true if publishing should be configured for this repo, default falseusername - (optional) specify a username for this repopassword - (optional) specify a password for this repo[name]RepoUsername and
[name]RepoPassword, with a fallback to di2eRepoUsername and di2eRepoPassword.
The environment variables used are [name]_NEXUS_USERNAME and [name]_NEXUS_PASSWORD, with a fallback
to DI2E_NEXUS_USERNAME and DI2E_NEXUS_PASSWORD.
props - Configuration propertiesAdd a DI2E RaptorX configuration accepting a map of configuration properties. Supported properties are:
publish - boolean value, true if publishing should be configured for this repo, default falseusername - (optional) specify a username for this repopassword - (optional) specify a password for this repodi2eRepoUsername and di2eRepoPassword.
The environment variables DI2E_NEXUS_USERNAME and DI2E_NEXUS_PASSWORD can be used to specify
the repo access credentials.
props - Configuration properties
true if the noMavenLocal() configuration has been specifiedDisallow the use of maven local for dependency resolution.
Retained for backward compatibility. Issues a warning and then redirects to configure di2eRaptorx.
props - Configuration properties