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 OSS snapshot repository to this project.default org.gradle.api.artifacts.repositories.MavenArtifactRepositoryAdd the new Sonatype OSS snapshot repository to this project.org.gradle.api.artifacts.repositories.MavenArtifactRepositorysnapshotsOn(int host) Add a specific numbered Sonatype OSS snapshots host to this project.
-
Field Details
-
EXTENSION_NAME
- See Also:
-
-
Method Details
-
ossSnapshots
org.gradle.api.artifacts.repositories.MavenArtifactRepository ossSnapshots()Add the Sonatype OSS snapshot repository to this project.The URL for this repository is https://oss.sonatype.org/content/repositories/snapshots/.
- Returns:
- the created repository
- Since:
- 2.1.0
-
s01Snapshots
default org.gradle.api.artifacts.repositories.MavenArtifactRepository s01Snapshots()Add the new Sonatype OSS snapshot repository to this project.The URL for this repository is https://s01.oss.sonatype.org/content/repositories/snapshots/.
- Returns:
- the created repository
- Since:
- 2.1.0
-
snapshotsOn
org.gradle.api.artifacts.repositories.MavenArtifactRepository snapshotsOn(int host) Add a specific numbered Sonatype OSS snapshots host to this project.The URL for this repository is
https://s<host>.oss.sonatype.org/content/repositories/snapshots/.As of this writing, only one host exists --
s01.- Parameters:
host- the host number- Returns:
- the created repository
- Since:
- 2.1.0
-