DSL support to allow build scripts to configure the repos to be used for fetching dependencies and publishing artifacts produced by the build.
| Modifiers | Name | Description |
|---|---|---|
static class |
RepoManagement.RepoConfig |
Base repo configuration. |
| 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. |
|
RepoManagement.RepoConfig |
getCtiPrivate(java.lang.String name)@param name The name of the repo to find |
|
RepoManagement.RepoConfig |
getCtiPublic(java.lang.String name)@param name The name of the repo to find |
|
RepoManagement.RepoConfig |
getDi2eCentral()
|
|
RepoManagement.RepoConfig |
getDi2ePrivate(java.lang.String name)@param name The name of the repo to find |
|
RepoManagement.RepoConfig |
getDi2eRaptorx()
|
|
java.util.List<RepoConfig> |
getPublishingRepoConfigs()@return All repo configurations where 'publish' is set true |
|
java.util.List<RepoConfig> |
getRepoConfigs()@return All repo configurations |
|
void |
google()Include google( ) in the repository configuration. |
|
boolean |
includeGoogle()@return true if google should be included in the repository configuration |
|
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(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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
name - The name of the repo to find
name - The name of the repo to find
name - The name of the repo to find
Include google( ) in the repository configuration.
true if google should be included in the repository configuration
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