Package net.minecraftforge.gradleutils
package net.minecraftforge.gradleutils
GradleUtils is a convention plugin that is used by almost all of Forge's projects. It mostly consists of helper
classes and methods such as GradleUtilsExtension and
PomUtils that help eliminate duplicate code within buildscripts and allow us to
change any default values, such as Maven URLs, in case things change unexpectedly.
If you are a non-Forge consumer, it is recommended not to use any Forge-specific APIs, including methods such as
PomUtils.addForgeDetails(org.gradle.api.publish.maven.MavenPom) and the
GenerateActionsWorkflow task.
-
InterfacesClassDescriptionThis task generates the GitHub Actions workflow file for the project.Contains various utilities for working with Gradle scripts.The GradleUtils extension for projects, which include additional utilities that are only available for them.Contains utilities to make working with
POMsmore ergonomic.Contains several licenses used by MinecraftForge to reduce needing to manually write them out in each project that uses one.