# MetadataSources

interface MetadataSources(source)

Allows configuring the sources of metadata for a specific repository.

#### Since

4.5

## Functions

artifact
Link copied to clipboard
abstract fun artifact()
Indicates that this repository may not contain metadata files, but we can infer it from the presence of an artifact file.
gradleMetadata
Link copied to clipboard
abstract fun gradleMetadata()
Indicates that this repository will contain Gradle metadata.
ignoreGradleMetadataRedirection
Link copied to clipboard
abstract fun ignoreGradleMetadataRedirection()
Indicates that this repository will ignore Gradle module metadata redirection markers found in Ivy files.
isArtifactEnabled
Link copied to clipboard
abstract fun isArtifactEnabled(): Boolean
Indicates if this repository only contains artifacts.
isGradleMetadataEnabled
Link copied to clipboard
abstract fun isGradleMetadataEnabled(): Boolean
Indicates if this repository contains Gradle module metadata.
isIgnoreGradleMetadataRedirectionEnabled
Link copied to clipboard
abstract fun isIgnoreGradleMetadataRedirectionEnabled(): Boolean
Indicates if this repository ignores Gradle module metadata redirection markers.
isIvyDescriptorEnabled
Link copied to clipboard
abstract fun isIvyDescriptorEnabled(): Boolean
Indicates if this repository contains Ivy descriptors.
ivyDescriptor
Link copied to clipboard
abstract fun ivyDescriptor()
Indicates that this repository will contain Ivy descriptors.