Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
package net.kyori.indra.internal;

import java.util.Locale;
import javax.inject.Inject;
import net.kyori.indra.repository.SonatypeRepositories;
import org.gradle.api.artifacts.dsl.RepositoryHandler;
Expand All @@ -46,11 +45,4 @@ public MavenArtifactRepository snapshots() {
repo.mavenContent(MavenRepositoryContentDescriptor::snapshotsOnly);
});
}

static String formatOssHost(final int host) {
if (host < 1) {
throw new IllegalArgumentException("Only hosts numbered >= 1 are supported, but " + host + " was provided");
}
return String.format(Locale.ROOT, "https://s%02d.oss.sonatype.org/content/repositories/snapshots/", host);
}
}

This file was deleted.

Loading