Maven Artifact Repository
interface MavenArtifactRepository : ArtifactRepository, UrlArtifactRepository, AuthenticationSupported, MetadataSupplierAware(source)
An artifact repository which uses a Maven format to store artifacts and meta-data.
Repositories of this type are created by the maven group of methods.
Types
Link copied to clipboard
interface MetadataSources
Allows configuring the sources of metadata for a specific repository.
Functions
Link copied to clipboard
Adds some additional URLs to use to find artifact files.
Link copied to clipboard
Configures the authentication schemes for this repository.
Link copied to clipboard
Configures the content of this repository.
Link copied to clipboard
Configures the credentials for this repository that will be provided by the build.
Configures the username and password credentials for this repository using the supplied action.
Configures the credentials for this repository using the supplied action.
Link copied to clipboard
inline fun <T : Credentials> AuthenticationSupported.credentials(credentialsType: KClass<T>, action: Action<in T>)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.repositories.AuthenticationSupported.credentials.
Link copied to clipboard
Specifies whether to continue checking other repositories if this repository is disabled due to connection or communication errors.
Link copied to clipboard
Returns the additional URLs to use to find artifact files.
Link copied to clipboard
Returns the authentication schemes for this repository.
Link copied to clipboard
Returns the username and password credentials used to authenticate to this repository.
Returns the credentials of the specified type used to authenticate with this repository.
Link copied to clipboard
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.repositories.AuthenticationSupported.getCredentials.
Link copied to clipboard
Returns the current metadata sources configuration for the repository.
Link copied to clipboard
Specifies whether it is acceptable to communicate with a repository over an insecure HTTP connection.
Link copied to clipboard
Configures the content of this Maven repository.
Link copied to clipboard
Configures the metadata sources for this repository.
Link copied to clipboard
Specifies whether it is acceptable to communicate with a repository over an insecure HTTP connection.
Link copied to clipboard
Sets the additional URLs to use to find artifact files.
Link copied to clipboard
abstract fun setComponentVersionsLister(lister: Class<out ComponentMetadataVersionLister>, configureAction: Action<in ActionConfiguration>)
Sets a custom component versions lister.
Link copied to clipboard
inline fun MetadataSupplierAware.setComponentVersionsLister(lister: KClass<out ComponentMetadataVersionLister>)
inline fun MetadataSupplierAware.setComponentVersionsLister(lister: KClass<out ComponentMetadataVersionLister>, configureAction: Action<in ActionConfiguration>)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.repositories.MetadataSupplierAware.setComponentVersionsLister.
Link copied to clipboard
Sets a custom metadata rule, which is capable of supplying the metadata of a component (status, status scheme, changing flag) whenever a dynamic version is requested.
abstract fun setMetadataSupplier(rule: Class<out ComponentMetadataSupplier>, configureAction: Action<in ActionConfiguration>)
Sets a custom metadata rule, possibly configuring the rule.
Link copied to clipboard
inline fun MetadataSupplierAware.setMetadataSupplier(rule: KClass<out ComponentMetadataSupplier>, configureAction: Action<in ActionConfiguration>)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.repositories.MetadataSupplierAware.setMetadataSupplier.