public interface GemRepositoryConfiguration
Additional options for configuring a remote GEM repository
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
setDownloadPattern(String value)Sets the download pattern to be used to fetch GEMs from the repository. |
|
public void |
setPassword(Object pass)Set a password for a custom GEM repository. |
|
public void |
setPrerelease(boolean flag)Set whether pre-release GEMs should be considered. |
|
public void |
setUseV1Api(Boolean value)Flag to switch to the V1 API to work with GEMs. |
|
public void |
setUsername(Object user)Set a username for a custom GEM repository. |
Sets the download pattern to be used to fetch GEMs from the repository.
value - The pattern to use.Set a password for a custom GEM repository.
pass - Anything convertible to a string. Can be a provider.Set whether pre-release GEMs should be considered.
flag - true to include pre-release GEMs.Flag to switch to the V1 API to work with GEMs.
value - true to use the V1 API to work with / fetch GEMs.Set a username for a custom GEM repository.
user - Anything convertible to a string. Can be a provider.