Dont add the mojang maven repo twice.
Might speed some things up as well due to orderingdev/0.11
parent
f7efac5d18
commit
c1fcd93a89
|
@ -62,9 +62,6 @@ public final class CompileConfiguration {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setupConfigurations(Project project) {
|
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);
|
Configuration modCompileClasspathConfig = project.getConfigurations().maybeCreate(Constants.Configurations.MOD_COMPILE_CLASSPATH);
|
||||||
modCompileClasspathConfig.setTransitive(true);
|
modCompileClasspathConfig.setTransitive(true);
|
||||||
Configuration modCompileClasspathMappedConfig = project.getConfigurations().maybeCreate(Constants.Configurations.MOD_COMPILE_CLASSPATH_MAPPED);
|
Configuration modCompileClasspathMappedConfig = project.getConfigurations().maybeCreate(Constants.Configurations.MOD_COMPILE_CLASSPATH_MAPPED);
|
||||||
|
|
Loading…
Reference in New Issue