New Build system now works as good as the old build system (forge still broken)

This commit is contained in:
coolGi
2023-02-12 20:45:57 +10:30
parent 8de6ca33af
commit 79ba86d8c2
6 changed files with 9 additions and 4 deletions
+1
View File
@@ -235,6 +235,7 @@ subprojects { p ->
// Adds the standalone jar's entrypoint
jar {
from "LICENSE.txt"
manifest {
attributes 'Implementation-Title': rootProject.mod_name,
'Implementation-Version': rootProject.mod_version,
+1 -1
View File
@@ -3,7 +3,7 @@ plugins {
}
minecraft {
accessWideners(project(":common").file("src/main/resources/${rootProject.accessWidenerVersion}.lod.accesswidener"))
accessWideners(project(":common").file("src/main/resources/${accessWidenerVersion}.lod.accesswidener"))
version(rootProject.minecraft_version)
}
+2
View File
@@ -5,6 +5,8 @@ plugins {
loom {
// FIXME: AccessWidener
accessWidenerPath = project(":common").file("src/main/resources/${accessWidenerVersion}.lod.accesswidener")
// "runs" isn't required, but when we do need it then it can be useful
runs {
client {
client()
+2
View File
@@ -15,6 +15,8 @@ apply plugin: "net.minecraftforge.gradle"
apply plugin: "org.parchmentmc.librarian.forgegradle"
apply plugin: "org.spongepowered.mixin"
// TODO: Check accessWidener works fine
mixin {
add sourceSets.main, "DistantHorizons.refmap.json"
+2 -2
View File
@@ -7,8 +7,8 @@ accessWidenerVersion=1_18
builds_for=["fabric", "forge"]
# Fabric loader
fabric_loader_version=0.13.3
fabric_api_version=0.48.0+1.18.2
fabric_loader_version=0.14.14
fabric_api_version=0.67.1+1.18.2
# Fabric mod versions
modmenu_version=3.1.0
#architectury_version=4.4.59