Class Util
java.lang.Object
net.minecraftforge.gradleutils.shared.SharedUtil
net.minecraftforge.forgedev.Util
public final class Util
extends net.minecraftforge.gradleutils.shared.SharedUtil
-
Field Summary
Fields inherited from class net.minecraftforge.gradleutils.shared.SharedUtil
LAUNCHER_EXECUTABLE -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends TaskProvider<?>>
TEnsures that a given task is run first in the task graph for the given project.Methods inherited from class net.minecraftforge.gradleutils.shared.SharedUtil
ensureAfterEvaluate, ensureAfterEvaluate, finalizeProperty, finalizeProperty, launcherFor, launcherFor, launcherForStrictly, launcherForStrictly, launcherForStrictly, launcherForStrictly, setOptional, toLog, toString, toString
-
Method Details
-
runFirst
Ensures that a given task is run first in the task graph for the given project.
This does not break the configuration cache as long as the task is always applied using this.
- Parameters:
project- The projecttask- The task to run first
-