clean up Maven repositories

dev/0.11
asie 2018-12-09 08:21:32 +01:00
parent c6c88e69de
commit 72a0375696
4 changed files with 8 additions and 8 deletions

View File

@ -22,8 +22,8 @@ if (ENV.BUILD_NUMBER) {
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven {
name = "Modmuss" name = "Fabric"
url = 'http://maven.modmuss50.me/' url = 'https://maven.fabricmc.net/'
} }
} }

View File

@ -196,14 +196,14 @@ public class AbstractPlugin implements Plugin<Project> {
}); });
project1.getRepositories().maven(mavenArtifactRepository -> { project1.getRepositories().maven(mavenArtifactRepository -> {
mavenArtifactRepository.setName("modmuss50"); mavenArtifactRepository.setName("Fabric");
mavenArtifactRepository.setUrl("https://maven.modmuss50.me/"); mavenArtifactRepository.setUrl("https://maven.fabricmc.net/");
}); });
project1.getRepositories().maven(mavenArtifactRepository -> { /* project1.getRepositories().maven(mavenArtifactRepository -> {
mavenArtifactRepository.setName("SpongePowered"); mavenArtifactRepository.setName("SpongePowered");
mavenArtifactRepository.setUrl("http://repo.spongepowered.org/maven"); mavenArtifactRepository.setUrl("http://repo.spongepowered.org/maven");
}); }); */
project1.getRepositories().maven(mavenArtifactRepository -> { project1.getRepositories().maven(mavenArtifactRepository -> {
mavenArtifactRepository.setName("Mojang"); mavenArtifactRepository.setName("Mojang");

View File

@ -31,7 +31,7 @@ public class LoomGradlePlugin extends AbstractPlugin {
@Override @Override
public void apply(Project target) { public void apply(Project target) {
super.apply(target); super.apply(target);
makeTask("cleanLoomBinaries", CleanLoomBinaries.class); makeTask("cleanLoomBinaries", CleanLoomBinaries.class);
makeTask("remapJar", RemapJar.class); makeTask("remapJar", RemapJar.class);

View File

@ -35,7 +35,7 @@ public class Constants {
public static final String FABRIC_CLIENT_TWEAKER = "net.fabricmc.loader.launch.FabricClientTweaker"; public static final String FABRIC_CLIENT_TWEAKER = "net.fabricmc.loader.launch.FabricClientTweaker";
public static final String FABRIC_SERVER_TWEAKER = "net.fabricmc.loader.launch.FabricServerTweaker"; public static final String FABRIC_SERVER_TWEAKER = "net.fabricmc.loader.launch.FabricServerTweaker";
public static final String POMF_MAVEN_SERVER = "https://maven.modmuss50.me/net/fabricmc/pomf/"; public static final String POMF_MAVEN_SERVER = "https://maven.fabricmc.net/net/fabricmc/pomf/";
public static final String LIBRARIES_BASE = "https://libraries.minecraft.net/"; public static final String LIBRARIES_BASE = "https://libraries.minecraft.net/";
public static final String RESOURCES_BASE = "http://resources.download.minecraft.net/"; public static final String RESOURCES_BASE = "http://resources.download.minecraft.net/";