Dont add the mojang maven repo twice.

Might speed some things up as well due to ordering
dev/0.11
modmuss50 2021-01-28 21:16:56 +00:00
parent f7efac5d18
commit c1fcd93a89
1 changed files with 0 additions and 3 deletions

View File

@ -62,9 +62,6 @@ public final class CompileConfiguration {
}
public static void setupConfigurations(Project project) {
// Force add Mojang repository
addMavenRepo(project, "Mojang", "https://libraries.minecraft.net/");
Configuration modCompileClasspathConfig = project.getConfigurations().maybeCreate(Constants.Configurations.MOD_COMPILE_CLASSPATH);
modCompileClasspathConfig.setTransitive(true);
Configuration modCompileClasspathMappedConfig = project.getConfigurations().maybeCreate(Constants.Configurations.MOD_COMPILE_CLASSPATH_MAPPED);