Interface MavenRepositoryContentDescriptor
- All Superinterfaces:
InclusiveRepositoryContentDescriptor
,RepositoryContentDescriptor
Extends the repository content descriptor with Maven repositories specific options.
- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Declares that this repository only contains releases.void
Declares that this repository only contains snapshots.Methods inherited from interface org.gradle.api.artifacts.repositories.InclusiveRepositoryContentDescriptor
includeGroup, includeGroupAndSubgroups, includeGroupByRegex, includeModule, includeModuleByRegex, includeVersion, includeVersionByRegex
Methods inherited from interface org.gradle.api.artifacts.repositories.RepositoryContentDescriptor
excludeGroup, excludeGroupAndSubgroups, excludeGroupByRegex, excludeModule, excludeModuleByRegex, excludeVersion, excludeVersionByRegex, notForConfigurations, onlyForAttribute, onlyForConfigurations
-
Method Details
-
releasesOnly
void releasesOnly()Declares that this repository only contains releases. -
snapshotsOnly
void snapshotsOnly()Declares that this repository only contains snapshots.
-