From 65480c5e9f598d4441a74ba68b1339380a52c119 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Sat, 26 Apr 2025 21:46:52 +1000 Subject: [PATCH] Attempt to speedup workflow build --- build.gradle | 12 ++++++------ gradle.properties | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 072ff0b2..5d3f49fa 100644 --- a/build.gradle +++ b/build.gradle @@ -67,11 +67,11 @@ dependencies { mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" - - modImplementation(fabricApi.module("fabric-api-base", project.fabric_version)) - modImplementation(fabricApi.module("fabric-rendering-fluids-v1", project.fabric_version)) - modImplementation(fabricApi.module("fabric-resource-loader-v0", project.fabric_version)) - modImplementation(fabricApi.module("fabric-command-api-v2", project.fabric_version)) + + modRuntimeOnly(fabricApi.module("fabric-api-base", project.fabric_version)) + modRuntimeOnly(fabricApi.module("fabric-rendering-fluids-v1", project.fabric_version)) + modRuntimeOnly(fabricApi.module("fabric-resource-loader-v0", project.fabric_version)) + modRuntimeOnly(fabricApi.module("fabric-command-api-v2", project.fabric_version)) modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" @@ -82,7 +82,7 @@ dependencies { modImplementation("maven.modrinth:lithium:mc1.21.5-0.16.0-fabric") //modRuntimeOnly "maven.modrinth:nvidium:0.2.6-beta" - modCompileOnly "maven.modrinth:nvidium:0.2.8-beta" + //modCompileOnly "maven.modrinth:nvidium:0.2.8-beta" modCompileOnly("maven.modrinth:modmenu:14.0.0-rc.2") modRuntimeOnly("maven.modrinth:modmenu:14.0.0-rc.2") diff --git a/gradle.properties b/gradle.properties index 94ed18c7..61544893 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Done to increase the memory available to gradle. -org.gradle.jvmargs=-Xmx1G +org.gradle.jvmargs=-Xmx2G org.gradle.caching=true org.gradle.parallel=true