File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/main/java/net/ornithemc/ploceus Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ public class Constants {
1515 public static final String QUILT_MAVEN_NAME = "Quilt" ;
1616 public static final String QUILT_MAVEN_URL = "https://maven.quiltmc.org/repository/release" ;
1717
18+ public static final String LEGACY_FABRIC_MAVEN_NAME = "Legacy Fabric" ;
19+ public static final String LEGACY_FABRIC_MAVEN_URL = "https://maven.legacyfabric.net" ;
20+
1821 public static final String FORGE_MAVEN_NAME = "Forge" ;
1922 public static final String FORGE_MAVEN_URL = "https://maven.minecraftforge.net/" ;
2023
Original file line number Diff line number Diff line change @@ -37,6 +37,13 @@ private void declareRepositories(RepositoryHandler repositories) {
3737 repo .setName (Constants .QUILT_MAVEN_NAME );
3838 repo .setUrl (Constants .QUILT_MAVEN_URL );
3939 });
40+ repositories .maven (repo -> {
41+ repo .setName (Constants .LEGACY_FABRIC_MAVEN_NAME );
42+ repo .setUrl (Constants .LEGACY_FABRIC_MAVEN_URL );
43+ repo .content (content -> {
44+ content .includeGroup ("org.lwjgl.lwjgl" );
45+ });
46+ });
4047 repositories .maven (repo -> {
4148 repo .setName (Constants .FORGE_MAVEN_NAME );
4249 repo .setUrl (Constants .FORGE_MAVEN_URL );
You can’t perform that action at this time.
0 commit comments