Interface MavenArtifactRepository.MetadataSources
- Enclosing interface:
MavenArtifactRepository
Allows configuring the sources of metadata for a specific repository.
- Since:
- 4.5
-
Method Summary
Modifier and TypeMethodDescriptionvoidartifact()Indicates that this repository may not contain metadata files, but we can infer it from the presence of an artifact file.voidIndicates that this repository will contain Gradle metadata.voidmavenPom()Indicates that this repository will contain Maven POM files.
-
Method Details
-
gradleMetadata
void gradleMetadata()Indicates that this repository will contain Gradle metadata. -
mavenPom
void mavenPom()Indicates that this repository will contain Maven POM files. If the POM file contains a marker telling that Gradle metadata exists for this component, Gradle will also look for the Gradle metadata file. -
artifact
void artifact()Indicates that this repository may not contain metadata files, but we can infer it from the presence of an artifact file.
-