gradle
8.5

# MetadataSources

interface MetadataSources(source)

Allows configuring the sources of metadata for a specific repository.

## 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 POM 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.
isMavenPomEnabled
Link copied to clipboard
abstract fun isMavenPomEnabled(): Boolean
Indicates if this repository contains Maven POM files.
mavenPom
Link copied to clipboard
abstract fun mavenPom()
Indicates that this repository will contain Maven POM files.