open class ResolverOptions
Options to configure the resolver.
Author
Clement Escoffier
ResolverOptions()
Options to configure the resolver. |
static val HTTPS_PROXY_SYS_PROP: String |
|
static val HTTP_PROXY_SYS_PROP: String |
|
static val LOCAL_REPO_SYS_PROP: String |
|
static val REMOTE_REPOS_SYS_PROP: String |
|
static val REMOTE_SNAPSHOT_POLICY_SYS_PROP: String |
open fun getHttpProxy(): String |
|
open fun getHttpsProxy(): String |
|
open fun getLocalRepository(): String |
|
open fun getRemoteRepositories(): MutableList<String> |
|
open fun getRemoteSnapshotPolicy(): String
Gets the remote snapshot policy. |
|
open fun setHttpProxy(httpProxy: String): ResolverOptions
Sets the address of the proxy used for HTTP requests. |
|
open fun setHttpsProxy(httpsProxy: String): ResolverOptions
Sets the address of the proxy used for HTTPS requests. |
|
open fun setLocalRepository(localRepository: String): ResolverOptions
Sets the path to the local Maven repository. By default it's ~/.m2/repository. |
|
open fun setRemoteRepositories(remoteRepositories: MutableList<String>): ResolverOptions
Sets the list of remote repositories used by the resolver. The repository must use the Maven 2 repository layout. If you don't want to resolved from remote locations, set it to an empty list. By default it resolves from Maven central and Sonatype OSS Snapshots. |
|
open fun setRemoteSnapshotPolicy(remoteSnapshotPolicy: String): ResolverOptions
Sets the remote snapshot policy (`daily` by default). Accepted values are |