Package net.kyori.indra.repository
Interface SonatypeRepositories
-
- All Known Implementing Classes:
SonatypeRepositoriesImpl
public interface SonatypeRepositoriesAn extension toRepositoryHandlerthat allows configuring Sonatype OSSRH snapshot repositories.- Since:
- 2.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXTENSION_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.gradle.api.artifacts.repositories.MavenArtifactRepositoryossSnapshots()Add the Sonatype OSS snapshot repository to this project.default org.gradle.api.artifacts.repositories.MavenArtifactRepositorys01Snapshots()Add 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 Detail
-
EXTENSION_NAME
static final String EXTENSION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-