Update build.gradle

This commit is contained in:
Robert MacRae 2025-03-29 16:03:55 -03:00
parent afcc131a3c
commit 451d553f37

View file

@ -99,7 +99,7 @@ minecraft {
property "forge.logging.console.level", "debug" property "forge.logging.console.level", "debug"
mods { mods {
librecomponents { oc2rcomponents {
source sourceSets.main source sourceSets.main
} }
} }
@ -107,23 +107,23 @@ minecraft {
client { client {
workingDirectory project.file("runclient") workingDirectory project.file("runclient")
property "forge.enabledGameTestNamespaces", "librecomponents" property "forge.enabledGameTestNamespaces", "oc2rcomponents"
} }
server { server {
workingDirectory project.file("run") workingDirectory project.file("run")
property "forge.enabledGameTestNamespaces", "librecomponents" property "forge.enabledGameTestNamespaces", "oc2rcomponents"
arg "--nogui" arg "--nogui"
} }
gameTestServer { gameTestServer {
workingDirectory project.file('run') workingDirectory project.file('run')
property "forge.enabledGameTestNamespaces", "librecomponents" property "forge.enabledGameTestNamespaces", "oc2rcomponents"
} }
data { data {
workingDirectory project.file("run") workingDirectory project.file("run")
args "--mod", "librecomponents", "--all", "--output", file("src/generated/resources/"), "--existing", file("src/main/resources") args "--mod", "oc2rcomponents", "--all", "--output", file("src/generated/resources/"), "--existing", file("src/main/resources")
} }
} }
} }
@ -140,14 +140,14 @@ jar {
manifest { manifest {
attributes([ attributes([
"FMLAT" : "accesstransformer.cfg", "FMLAT" : "accesstransformer.cfg",
"Specification-Title" : "librecomponents", "Specification-Title" : "oc2rcomponents",
"Specification-Vendor" : "The Realm 18 Studios", "Specification-Vendor" : "The Realm 18 Studios",
"Specification-Version" : "1", "Specification-Version" : "1",
"Implementation-Title" : project.name, "Implementation-Title" : project.name,
"Implementation-Version" : "${semver}", "Implementation-Version" : "${semver}",
"Implementation-Vendor" : "The Realm 18 Studios", "Implementation-Vendor" : "The Realm 18 Studios",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"MixinConfigs" : "mixins.librecomponents.json", "MixinConfigs" : "mixins.oc2rc.json",
"ContainedDeps" : "commons-collections4-4.4.jar" "ContainedDeps" : "commons-collections4-4.4.jar"
]) ])
} }