Skip to content

Commit 7cfb5e5

Browse files
authored
fix #333 - disable forge build (#334)
1 parent 7aa9e74 commit 7cfb5e5

File tree

5 files changed

+33
-18
lines changed

5 files changed

+33
-18
lines changed

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ clean:
99
jar:
1010
./gradlew remapJar
1111
ls -1 fabric/build/libs
12-
ls -1 forge/build/libs
12+
# ls -1 forge/build/libs
1313

1414
test:
1515
./gradlew test
@@ -38,15 +38,15 @@ deps:
3838

3939
.PHONY: inst
4040
inst:
41-
rm -f ~/minecraft/instances/1.20.1-forge-dev/.minecraft/mods/fastback*
41+
# rm -f ~/minecraft/instances/1.20.1-forge-dev/.minecraft/mods/fastback*
4242
rm -f ~/minecraft/instances/1.20.1-fabric-dev/.minecraft/mods/fasback*
4343
cp fabric/build/libs/fastback*-fabric.jar ~/minecraft/instances/1.20.1-fabric-dev/.minecraft/mods/
44-
cp forge/build/libs/fastback*-forge.jar ~/minecraft/instances/1.20.1-forge-dev/.minecraft/mods/
44+
# cp forge/build/libs/fastback*-forge.jar ~/minecraft/instances/1.20.1-forge-dev/.minecraft/mods/
4545

4646
.PHONY: tvf
4747
tvf:
48-
jar -tvf forge/build/libs/fastback*-forge.jar
48+
# jar -tvf forge/build/libs/fastback*-forge.jar
4949

5050
.PHONY: tvfs
5151
tvfs:
52-
jar -tvf forge/build/libs/fastback*-shadow.jar
52+
# jar -tvf forge/build/libs/fastback*-shadow.jar

common/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

22
architectury {
33
common("fabric")
4-
common("forge")
4+
// NOTE: Forge is no longer supported and the build has been disabled
5+
// See: https://github.com/pcal43/fastback/issues/333
6+
//common("forge")
57
}
68

79
dependencies {

etc/release.sh

+9-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ fi
5050
#
5151

5252
FABRIC_LIBS_DIR='fabric/build/libs'
53-
FORGE_LIBS_DIR='forge/build/libs'
53+
54+
# NOTE: Forge is no longer supported and the build has been disabled
55+
# See: https://github.com/pcal43/fastback/issues/333
56+
# FORGE_LIBS_DIR='forge/build/libs'
5457

5558
CURRENT_VERSION=$(sed -rn 's/^mod_version.*=[ ]*([^\n]+)$/\1/p' gradle.properties)
5659
echo "Current version is '$CURRENT_VERSION'"
@@ -66,7 +69,10 @@ rm gradle.properties
6669
mv gradle.properties.temp gradle.properties
6770

6871
rm -rf "${FABRIC_LIBS_DIR}"
69-
rm -rf "${FORGE_LIBS_DIR}"
72+
73+
# NOTE: Forge is no longer supported and the build has been disabled
74+
# See: https://github.com/pcal43/fastback/issues/333
75+
# rm -rf "${FORGE_LIBS_DIR}"
7076

7177
./gradlew remapJar
7278

@@ -78,7 +84,7 @@ git push
7884
# Do github release
7985
#
8086
set -x
81-
gh release create --generate-notes --title "${RELEASE_VERSION}" --notes "release ${RELEASE_VERSION}" ${RELEASE_VERSION} "${FABRIC_LIBS_DIR}"/* "${FORGE_LIBS_DIR}"/*
87+
gh release create --generate-notes --title "${RELEASE_VERSION}" --notes "release ${RELEASE_VERSION}" ${RELEASE_VERSION} "${FABRIC_LIBS_DIR}"/* # "${FORGE_LIBS_DIR}"/*
8288
set +x
8389

8490

gradle.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ fabric_version=0.99.0+1.20.6
2222
# Forge
2323
#
2424
# https://files.minecraftforge.net/net/minecraftforge/forge/
25-
forge_version = 1.20.6-50.0.31
25+
forge_version = 1.20.6-50.1.9
26+
# NOTE: Forge is no longer supported and the build has been disabled
27+
# See: https://github.com/pcal43/fastback/issues/333
2628

2729
#
2830
# common dependencies

settings.gradle

+13-8
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,31 @@ pluginManagement {
55
name = "Fabric"
66
url = "https://maven.fabricmc.net/"
77
}
8-
maven {
9-
name = "Forge"
10-
url = "https://maven.minecraftforge.net/"
11-
}
128
maven {
139
name = "Architectury"
1410
url = "https://maven.architectury.dev/"
1511
}
1612
//mavenCentral()
1713
gradlePluginPortal()
14+
// NOTE: Forge is no longer supported and the build has been disabled
15+
// See: https://github.com/pcal43/fastback/issues/333
16+
// maven {
17+
// name = 'NeoForged'
18+
// url = 'https://maven.neoforged.net/releases'
19+
//}
20+
// architectury-loom still demands this for some reason
1821
maven {
19-
name = 'NeoForged'
20-
url = 'https://maven.neoforged.net/releases'
22+
name = "Forge"
23+
url = "https://maven.minecraftforge.net/"
2124
}
22-
2325
}
2426
}
2527

2628
rootProject.name = "fastback"
2729

2830
include(":common")
2931
include(":fabric")
30-
include(":forge")
32+
33+
// NOTE: Forge is no longer supported and the build has been disabled
34+
// See: https://github.com/pcal43/fastback/issues/333
35+
// include(":forge")

0 commit comments

Comments
 (0)