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 java.lang.StringEXTENSION_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description org.gradle.api.artifacts.repositories.MavenArtifactRepositoryossSnapshots()Deprecated.replaced bysnapshots()due to the new Central publishing systemdefault org.gradle.api.artifacts.repositories.MavenArtifactRepositorys01Snapshots()Deprecated.replaced bysnapshots()due to the new Central publishing systemorg.gradle.api.artifacts.repositories.MavenArtifactRepositorysnapshots()Add the Sonatype snapshot repository to this project.org.gradle.api.artifacts.repositories.MavenArtifactRepositorysnapshotsOn(int host)Deprecated.replaced bysnapshots()due to the new Central publishing system
-
-
-
Field Detail
-
EXTENSION_NAME
static final java.lang.String EXTENSION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
ossSnapshots
@Deprecated org.gradle.api.artifacts.repositories.MavenArtifactRepository ossSnapshots()
Deprecated.replaced bysnapshots()due to the new Central publishing systemAdd 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
@Deprecated default org.gradle.api.artifacts.repositories.MavenArtifactRepository s01Snapshots()
Deprecated.replaced bysnapshots()due to the new Central publishing systemAdd 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
@Deprecated org.gradle.api.artifacts.repositories.MavenArtifactRepository snapshotsOn(int host)
Deprecated.replaced bysnapshots()due to the new Central publishing systemAdd 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
-
-