Package net.kyori.indra.internal
Class SonatypeRepositoriesImpl
- java.lang.Object
-
- net.kyori.indra.internal.SonatypeRepositoriesImpl
-
- All Implemented Interfaces:
SonatypeRepositories
public class SonatypeRepositoriesImpl extends Object implements SonatypeRepositories
-
-
Field Summary
-
Fields inherited from interface net.kyori.indra.repository.SonatypeRepositories
EXTENSION_NAME
-
-
Constructor Summary
Constructors Constructor Description SonatypeRepositoriesImpl(org.gradle.api.artifacts.dsl.RepositoryHandler repositories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.artifacts.repositories.MavenArtifactRepositoryossSnapshots()Add the 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.kyori.indra.repository.SonatypeRepositories
s01Snapshots
-
-
-
-
Method Detail
-
ossSnapshots
public org.gradle.api.artifacts.repositories.MavenArtifactRepository ossSnapshots()
Description copied from interface:SonatypeRepositoriesAdd the Sonatype OSS snapshot repository to this project.The URL for this repository is https://oss.sonatype.org/content/repositories/snapshots/.
- Specified by:
ossSnapshotsin interfaceSonatypeRepositories- Returns:
- the created repository
-
snapshotsOn
public org.gradle.api.artifacts.repositories.MavenArtifactRepository snapshotsOn(int host)
Description copied from interface:SonatypeRepositoriesAdd 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.- Specified by:
snapshotsOnin interfaceSonatypeRepositories- Parameters:
host- the host number- Returns:
- the created repository
-
-