Package net.kyori.indra.repository
Interface SonatypeRepositories
- All Known Implementing Classes:
SonatypeRepositoriesImpl
public interface SonatypeRepositories
An extension to
RepositoryHandler that allows configuring Sonatype OSSRH snapshot repositories.- Since:
- 2.1.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.artifacts.repositories.MavenArtifactRepositoryAdd the Sonatype snapshot repository to this project.
-
Field Details
-
EXTENSION_NAME
- See Also:
-
-
Method Details
-
snapshots
org.gradle.api.artifacts.repositories.MavenArtifactRepository snapshots()Add the Sonatype snapshot repository to this project.The URL for this repository is https://central.sonatype.com/repository/maven-snapshots/.
- Returns:
- the created repository
- Since:
- 3.2.0
-