Class ProblemReportingUtil

java.lang.Object
net.neoforged.moddevgradle.internal.utils.ProblemReportingUtil

public final class ProblemReportingUtil extends Object
Our lowest supported Gradle version is 8.8. The Problems Api has significantly changed since then. This class aims to hide the details of supporting this transparently.

The Problems interface has been added in Gradle 8.6 and is thus safe to use in the public interface of this class.

ProblemId and ProblemGroup are also fine to use, since they're available since Gradle 8.8.

  • Method Details

    • report

      public static void report(org.gradle.api.problems.Problems problems, net.neoforged.problems.Problem problem)