Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Commit

Permalink
Add the repositories in the installer
Browse files Browse the repository at this point in the history
  • Loading branch information
TonimatasDEV committed Mar 21, 2024
1 parent 80b16ac commit b8c2a33
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,13 @@ public Path getDependencyPath(Dependency dependency, boolean relocated) {
manager.loadFromResource(new URL("jar:file:" + JarTool.getJarPath() + "!/data/magma_libraries.txt"));

List<Repository> standardRepositories = new ArrayList<>();
standardRepositories.add(new StandardRepository("https://nexus.c0d3m4513r.com/repository/Magma/"));
standardRepositories.add(new StandardRepository("https://nexus.c0d3m4513r.com/repository/Magma"));
standardRepositories.add(new StandardRepository("https://maven.minecraftforge.net"));
standardRepositories.add(new StandardRepository("https://maven.fabricmc.net"));
standardRepositories.add(new StandardRepository("https://repo1.maven.org/maven2"));
standardRepositories.add(new StandardRepository("https://git.magmafoundation.org/magmafoundation/magma-maven-repo/-/raw/repository"));
standardRepositories.add(new StandardRepository("https://raw.github.com/Hexeption/Magma-Repo/master/"));
standardRepositories.add(new StandardRepository("https://maven.izzel.io/releases"));
standardRepositories.add(new StandardRepository("https://maven.mohistmc.com"));

List<Dependency> dependencies = manager.getDependencies();

Expand Down

0 comments on commit b8c2a33

Please sign in to comment.